Public Member Functions | |
bool | breakLoop () |
void | finalize () |
bool | initialize () |
void | step () |
Worker (TsPool< T > *pool) | |
Public Member Functions inherited from RTT::base::RunnableInterface | |
ActivityInterface * | getActivity () const |
Query for the task this interface is run in. More... | |
virtual os::ThreadInterface * | getThread () const |
virtual bool | hasWork () |
virtual void | loop () |
RunnableInterface () | |
virtual void | setActivity (ActivityInterface *task) |
Set the task this interface is run in. More... | |
virtual void | work (WorkReason reason) |
virtual | ~RunnableInterface () |
Public Attributes | |
int | cycles |
Private Attributes | |
TsPool< T > * | mpool |
bool | stop |
Additional Inherited Members | |
Public Types inherited from RTT::base::RunnableInterface | |
enum | WorkReason { TimeOut = 0, Trigger, IOReady } |
Definition at line 765 of file buffers_test.cpp.
|
inline |
Definition at line 773 of file buffers_test.cpp.
|
inlinevirtual |
This method is called by the framework to break out of the loop() method. Reimplement this method to signal loop() to return and return true on success. When this method is not reimplemented by you, it will always return false, denoting that the loop can not be broken. If breakLoop() returns true, the caller will wait until loop() returns.
Reimplemented from RTT::base::RunnableInterface.
Definition at line 787 of file buffers_test.cpp.
|
inlinevirtual |
The method that will be called after the last periodical execution of step() ( or non periodical execution of loop() ), when the RunnableInterface is stopped.
Implements RTT::base::RunnableInterface.
Definition at line 791 of file buffers_test.cpp.
|
inlinevirtual |
The method that will be called before the first periodical execution of step() ( or non periodical execution of loop() ), when the thread is started.
Implements RTT::base::RunnableInterface.
Definition at line 774 of file buffers_test.cpp.
|
inlinevirtual |
The method that will be (periodically) executed when this object is run in an Activity.
Implements RTT::base::RunnableInterface.
Definition at line 778 of file buffers_test.cpp.
int BuffersMPoolTest::Worker< T >::cycles |
Definition at line 771 of file buffers_test.cpp.
|
private |
Definition at line 768 of file buffers_test.cpp.
|
private |
Definition at line 769 of file buffers_test.cpp.