NETSIM  1.0.1
Hardware-in-the-loopacousticnetworksimulator
netsim::ProcessorThreadBase< to_index > Class Template Referenceabstract

#include </root/netsim/obj-x86_64-linux-gnu/include/netsim/core/processor.h>

Inheritance diagram for netsim::ProcessorThreadBase< to_index >:
Collaboration diagram for netsim::ProcessorThreadBase< to_index >:

Public Member Functions

 ProcessorThreadBase (const netsim::protobuf::NetSimCoreConfig &config, boost::units::quantity< boost::units::si::frequency > loop_freq)
 

Protected Member Functions

virtual void detector_audio (std::shared_ptr< const netsim::TaggedAudioBuffer > buffer, int modem_index)=0
 
virtual void update_buffer_size (const jack_nframes_t &buffer_size)=0
 
void publish_audio_buffer (std::shared_ptr< const netsim::TaggedAudioBuffer > buffer, int tx_modem_id)
 

Detailed Description

template<int to_index>
class netsim::ProcessorThreadBase< to_index >

Definition at line 41 of file processor.h.

Constructor & Destructor Documentation

◆ ProcessorThreadBase()

template<int to_index>
netsim::ProcessorThreadBase< to_index >::ProcessorThreadBase ( const netsim::protobuf::NetSimCoreConfig &  config,
boost::units::quantity< boost::units::si::frequency >  loop_freq 
)
inline

Definition at line 44 of file processor.h.

Member Function Documentation

◆ detector_audio()

template<int to_index>
virtual void netsim::ProcessorThreadBase< to_index >::detector_audio ( std::shared_ptr< const netsim::TaggedAudioBuffer buffer,
int  modem_index 
)
protectedpure virtual

◆ publish_audio_buffer()

template<int to_index>
void netsim::ProcessorThreadBase< to_index >::publish_audio_buffer ( std::shared_ptr< const netsim::TaggedAudioBuffer buffer,
int  tx_modem_id 
)
inlineprotected

Definition at line 85 of file processor.h.

◆ update_buffer_size()

template<int to_index>
virtual void netsim::ProcessorThreadBase< to_index >::update_buffer_size ( const jack_nframes_t &  buffer_size)
protectedpure virtual

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