event-driven
Public Member Functions | List of all members
ev::collectorPort Class Reference

an output port that can safely accept events from multiple threads and sends them at a fixed output rate. More...

#include <vCollectSend.h>

Inheritance diagram for ev::collectorPort:

Public Member Functions

 collectorPort ()
 constructor
 
bool open (std::string name)
 open the output port
 
void pushevent (event<> v, yarp::os::Stamp y)
 add an event to be sent on next thread execution
 
void run ()
 on each call of the thread, all events that have been added are sent on the port in a vBottle. If no events have been added, a vBottle is not sent.
 

Detailed Description

an output port that can safely accept events from multiple threads and sends them at a fixed output rate.


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