#include <PublisherFlush.h>
Public Member Functions | |
PublisherFlush (InPortConsumer *consumer, const Properties &property) | |
Constructor. | |
virtual | ~PublisherFlush () |
Destructor. | |
virtual void | update () |
Observer function. |
This is a Publisher class of Flush type. This class sends unsend data that has been stored in the buffer. This executes Consumer that waits for the data send timing in the same thread as its send side.
RTC::PublisherFlush::PublisherFlush | ( | InPortConsumer * | consumer, | |
const Properties & | property | |||
) |
Constructor.
Consrtuctor.
consumer | Consumer to wait for the data sending | |
property | Property object that have been set the control information of this Publisher |
virtual RTC::PublisherFlush::~PublisherFlush | ( | ) | [virtual] |
Destructor.
Destructor This is invoked by PublisherFactory when this Publisher is destoroyed.
virtual void RTC::PublisherFlush::update | ( | ) | [virtual] |
Observer function.
This is invoked at the send timing. Immediately, the Consumer's sending process is invoked in the same thread.
Implements RTC::PublisherBase.