19 #ifndef __VCOLLECTSEND__ 20 #define __VCOLLECTSEND__ 22 #include "event-driven/vCodec.h" 23 #include "event-driven/vPort.h" 24 #include <yarp/os/all.h> 37 yarp::os::Stamp ystamp;
47 bool open(std::string name) {
49 return sendPort.open(name);
71 sendPort.write(filler, ystamp);
bool open(std::string name)
open the output port
Definition: vCollectSend.h:47
collectorPort()
constructor
Definition: vCollectSend.h:44
void run()
on each call of the thread, all events that have been added are sent on the port in a vBottle...
Definition: vCollectSend.h:66
an output port that can safely accept events from multiple threads and sends them at a fixed output r...
Definition: vCollectSend.h:30
void pushevent(event<> v, yarp::os::Stamp y)
add an event to be sent on next thread execution
Definition: vCollectSend.h:54