AFF3CT
A Fast Forward Error Correction Tool!
 All Classes Files Functions Variables Pages
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
Simulation_BFERI_i< B, R, Q > Class Template Referenceabstract
Inheritance diagram for Simulation_BFERI_i< B, R, Q >:
Simulation Simulation_BFERI< B, R, Q > Simulation_BFERI_LDPC< B, R, Q > Simulation_BFERI_RSC< B, R, Q, QD > Simulation_BFERI_uncoded< B, R, Q >

Public Member Functions

 Simulation_BFERI_i (const parameters &params)
 
void launch ()
 This method has to be overloaded, this is the start point of the Simulation.
 
- Public Member Functions inherited from Simulation
 Simulation ()
 Constructor.
 
virtual ~Simulation ()
 Destructor.
 

Protected Member Functions

virtual void launch_precompute ()
 
virtual void snr_precompute ()
 
virtual void _launch ()=0
 
virtual void snr_postcompute ()
 
virtual void release_objects ()
 
virtual void launch_postcompute ()
 
virtual Source< B > * build_source (const int tid=0)
 
virtual CRC< B > * build_crc (const int tid=0)
 
virtual Encoder< B > * build_encoder (const int tid=0)
 
virtual Interleaver< int > * build_interleaver (const int tid=0)
 
virtual Modulator< B, R, Q > * build_modulator (const int tid=0)
 
virtual Channel< R > * build_channel (const int size, const int tid=0)
 
virtual Quantizer< R, Q > * build_quantizer (const int size, const int tid=0)
 
virtual SISO< Q > * build_siso (const int tid=0)=0
 
virtual Coset< B, Q > * build_coset_real (const int tid=0)
 
virtual Decoder< B, Q > * build_decoder (const int tid=0)=0
 
virtual Coset< B, B > * build_coset_bit (const int tid=0)
 
virtual Monitor< B > * build_monitor (const int tid=0)
 

Static Protected Member Functions

static void build_communication_chain (Simulation_BFERI_i< B, R, Q > *simu, const int tid=0)
 
- Static Protected Member Functions inherited from Simulation
static void check_errors (void *ptr, std::string str, const int tid=0)
 Checks if a pointer has been allocated or not, if not the program stop with an error message. More...
 

Protected Attributes

const parameters & params
 
Barrier barrier
 
float snr
 
float code_rate
 
float sigma
 
std::chrono::time_point
< std::chrono::steady_clock,
std::chrono::nanoseconds > 
t_snr
 
std::vector< Source< B > * > source
 
std::vector< CRC< B > * > crc
 
std::vector< Encoder< B > * > encoder
 
std::vector< Modulator< B, R,
Q > * > 
modulator
 
std::vector< Channel< R > * > channel
 
std::vector< Quantizer< R, Q > * > quantizer
 
std::vector< Interleaver< int > * > interleaver
 
std::vector< Coset< B, Q > * > coset_real
 
std::vector< SISO< Q > * > siso
 
std::vector< Decoder< B, Q > * > decoder
 
std::vector< Coset< B, B > * > coset_bit
 
std::vector< Monitor< B > * > monitor
 

The documentation for this class was generated from the following file: