NETSIM  1.0.1
Hardware-in-the-loopacousticnetworksimulator
processor.h File Reference
#include "goby/middleware/marshalling/protobuf.h"
#include "goby/zeromq/application/multi_thread.h"
#include "netsim/core/common.h"
#include "netsim/messages/core_config.pb.h"
#include "netsim/messages/groups.h"
#include <jack/types.h>
Include dependency graph for processor.h:

Go to the source code of this file.

Classes

class  netsim::ProcessorThreadBase< to_index >
 

Namespaces

 netsim
 

Macros

#define NETSIM_PROCESSOR_SUBSCRIBE_DETECTOR_AUDIO(z, n, _)
 
#define NETSIM_PROCESSOR_PUBLISH_AUDIO_BUFFER(z, n, _)
 

Typedefs

using ThreadBase = goby::middleware::SimpleThread< netsim::protobuf::NetSimCoreConfig >
 

Variables

std::atomic< int > netsim::processor_ready
 

Macro Definition Documentation

◆ NETSIM_PROCESSOR_PUBLISH_AUDIO_BUFFER

#define NETSIM_PROCESSOR_PUBLISH_AUDIO_BUFFER (   z,
  n,
 
)
Value:
case n: \
this->interthread().template publish<netsim::groups::AudioOut<n, to_index>::group>( \
buffer); \
break;

◆ NETSIM_PROCESSOR_SUBSCRIBE_DETECTOR_AUDIO

#define NETSIM_PROCESSOR_SUBSCRIBE_DETECTOR_AUDIO (   z,
  n,
 
)
Value:
case n: \
interthread() \
.template subscribe<netsim::groups::DetectorAudio<n>::group, \
netsim::TaggedAudioBuffer>(detector_audio_callback); \
break;

Typedef Documentation

◆ ThreadBase

using ThreadBase = goby::middleware::SimpleThread<netsim::protobuf::NetSimCoreConfig>

Definition at line 35 of file processor.h.