Public Member Functions | Public Attributes
TestFileDescriptor Struct Reference
Inheritance diagram for TestFileDescriptor:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void cleanupHook ()
virtual bool configureHook ()
virtual bool startHook ()
 TestFileDescriptor (std::string name)
virtual void updateHook ()
virtual ~TestFileDescriptor ()

Public Attributes

int countError
int countRead
int countTimeout
int countUpdate
int fd [2]

Detailed Description

Definition at line 39 of file taskthread_fd_test.cpp.


Constructor & Destructor Documentation

TestFileDescriptor::TestFileDescriptor ( std::string  name) [inline]

Definition at line 42 of file taskthread_fd_test.cpp.

virtual TestFileDescriptor::~TestFileDescriptor ( ) [inline, virtual]

Definition at line 52 of file taskthread_fd_test.cpp.


Member Function Documentation

virtual void TestFileDescriptor::cleanupHook ( ) [inline, virtual]

Implement this method such that it contains the code which will be executed when cleanup() is called. The default implementation is an empty function.

Reimplemented from RTT::base::TaskCore.

Definition at line 112 of file taskthread_fd_test.cpp.

virtual bool TestFileDescriptor::configureHook ( ) [inline, virtual]

Implement this method such that it contains the code which will be executed when configure() is called. The default implementation is an empty function which returns true.

Return values:
trueto indicate that configuration succeeded and the Stopped state may be entered.
falseto indicate that configuration failed and the Preoperational state is entered.

Reimplemented from RTT::base::TaskCore.

Definition at line 56 of file taskthread_fd_test.cpp.

virtual bool TestFileDescriptor::startHook ( ) [inline, virtual]

Implement this method such that it contains the code which will be executed when start() is called. The default implementation is an empty function which returns true.

Return values:
trueto indicate that the component may run and the Running state may be entered.
falseto indicate that the component may not run and the Stopped state is entered.

Reimplemented from RTT::base::TaskCore.

Definition at line 72 of file taskthread_fd_test.cpp.

virtual void TestFileDescriptor::updateHook ( ) [inline, virtual]

Function where the user must insert his 'application' code. When the ExecutionEngine's Activity is a periodic, this function is called by the ExecutionEngine in each periodic step after all messages are processed. When it is executed by a non periodic activity, this function is called after a message is received and executed. It should not loop forever, since no commands or events are processed when this function executes. The default implementation is an empty function.

Reimplemented from RTT::base::TaskCore.

Definition at line 81 of file taskthread_fd_test.cpp.


Member Data Documentation

Definition at line 119 of file taskthread_fd_test.cpp.

Definition at line 121 of file taskthread_fd_test.cpp.

Definition at line 120 of file taskthread_fd_test.cpp.

Definition at line 122 of file taskthread_fd_test.cpp.

Definition at line 123 of file taskthread_fd_test.cpp.


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


rtt
Author(s): RTT Developers
autogenerated on Sat Jun 8 2019 18:46:36