#include <TimerComponent.hpp>
Public Member Functions | |
virtual void | timeout (os::Timer::TimerId id) |
TimeoutCatcher (std::vector< RTT::OutputPort< RTT::os::Timer::TimerId > * > &port_timers, RTT::OutputPort< RTT::os::Timer::TimerId > &op, const std::string &name) | |
Public Member Functions inherited from RTT::os::Timer | |
bool | arm (TimerId timer_id, Seconds wait_time) |
bool | isArmed (TimerId timer_id) const |
bool | killTimer (TimerId timer_id) |
void | setMaxTimers (TimerId max) |
bool | startTimer (TimerId timer_id, Seconds period) |
Timer (TimerId max_timers, int scheduler=-1, int priority=0, const std::string &name=std::string("Timer")) | |
TimeService::Seconds | timeRemaining (TimerId timer_id) const |
bool | waitFor (RTT::os::Timer::TimerId id) |
bool | waitForUntil (RTT::os::Timer::TimerId id, nsecs abs_time) |
~Timer () | |
Public Member Functions inherited from RTT::base::RunnableInterface | |
ActivityInterface * | getActivity () const |
virtual os::ThreadInterface * | getThread () const |
virtual bool | hasWork () |
RunnableInterface () | |
virtual void | setActivity (ActivityInterface *task) |
virtual void | work (WorkReason reason) |
virtual | ~RunnableInterface () |
Public Attributes | |
std::vector< RTT::OutputPort< RTT::os::Timer::TimerId > * > & | m_port_timers |
RTT::OutputPort< RTT::os::Timer::TimerId > & | me |
Public Attributes inherited from RTT::base::RunnableInterface | |
IOReady | |
TimeOut | |
Trigger | |
Additional Inherited Members | |
Public Types inherited from RTT::os::Timer | |
typedef int | TimerId |
Public Types inherited from RTT::base::RunnableInterface | |
enum | WorkReason |
Protected Types inherited from RTT::os::Timer | |
typedef TimeService::nsecs | Time |
typedef std::vector< TimerInfo > | TimerIds |
Protected Member Functions inherited from RTT::os::Timer | |
bool | breakLoop () |
void | finalize () |
bool | initialize () |
void | loop () |
void | step () |
Protected Attributes inherited from RTT::os::Timer | |
Condition | mcond |
bool | mdo_quit |
Mutex | mmutex |
base::ActivityInterface * | mThread |
TimerIds | mtimers |
Helper class for catching the virtual timeout function of Timer.
Definition at line 28 of file TimerComponent.hpp.
|
inline |
Definition at line 31 of file TimerComponent.hpp.
|
inlinevirtual |
Reimplemented from RTT::os::Timer.
Definition at line 36 of file TimerComponent.hpp.
std::vector<RTT::OutputPort<RTT::os::Timer::TimerId>* >& OCL::TimerComponent::TimeoutCatcher::m_port_timers |
Definition at line 30 of file TimerComponent.hpp.
RTT::OutputPort<RTT::os::Timer::TimerId>& OCL::TimerComponent::TimeoutCatcher::me |
Definition at line 29 of file TimerComponent.hpp.