ThreadedNode class More...
#include <InstantIO/ThreadedNode.h>
Public Member Functions | |
ThreadedNode () | |
Constructor. | |
virtual | ~ThreadedNode () |
Destructor. | |
Protected Member Functions | |
virtual void | start () |
Gets called when the first InSlot is connected to the Node. | |
virtual void | stop () |
Gets called when the last InSlot is disconnected from the Node. | |
bool | waitThread (int timeout=-1) |
Ends operation of the ThreadedNode. | |
virtual int | processData ()=0 |
Starts operation of the ThreadedNode. |
ThreadedNode class
InstantIO::ThreadedNode::ThreadedNode | ( | ) |
Constructor.
Creates a new ThreadedNode object.
virtual InstantIO::ThreadedNode::~ThreadedNode | ( | ) | [virtual] |
Destructor.
Destroys the ThreadedNode object.
bool InstantIO::ThreadedNode::waitThread | ( | int | timeout = -1 |
) | [protected] |
Ends operation of the ThreadedNode.
wait the thread
virtual int InstantIO::ThreadedNode::processData | ( | ) | [protected, pure virtual] |
Starts operation of the ThreadedNode.
This method gets called when any component is interested to get values from this node.