Fawkes API  Fawkes Development Version
Emitter Class Reference

Helper class which registers and emits a given SyncBarrier. More...

Public Member Functions

 Emitter (string identifier, string syncbarrier, RefPtr< SyncPointManager > manager)
 Constructor. More...
 
virtual ~Emitter ()
 Destructor. More...
 
void emit ()
 emit the SyncBarrier More...
 

Detailed Description

Helper class which registers and emits a given SyncBarrier.

Definition at line 640 of file test_syncpoint.cpp.

Constructor & Destructor Documentation

◆ Emitter()

Emitter::Emitter ( string  identifier,
string  syncbarrier,
RefPtr< SyncPointManager manager 
)
inline

Constructor.

Parameters
identifierThe identifier of this emitter.
syncbarrierThe identifier of the SyncBarrier to register for.
managerPointer to the SyncPointManager to use.

Definition at line 648 of file test_syncpoint.cpp.

References fawkes::SyncPointManager::get_syncpoint(), and fawkes::SyncPoint::register_emitter().

◆ ~Emitter()

virtual Emitter::~Emitter ( )
inlinevirtual

Destructor.

Definition at line 656 of file test_syncpoint.cpp.

Member Function Documentation

◆ emit()

void Emitter::emit ( )
inline

emit the SyncBarrier

Definition at line 664 of file test_syncpoint.cpp.


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