#include <rtt_rosclock_sim_clock_activity.h>
Public Member Functions | |
virtual bool | breakLoop () |
virtual bool | execute () |
virtual void | finalize () |
virtual unsigned | getCpuAffinity () const |
virtual RTT::os::TimeService::ticks | getLastExecutionTicks () const |
virtual RTT::Seconds | getPeriod () const |
virtual bool | initialize () |
virtual bool | isActive () const |
virtual bool | isPeriodic () const |
virtual bool | isRunning () const |
virtual void | loop () |
virtual bool | setCpuAffinity (unsigned cpu) |
virtual bool | setPeriod (RTT::Seconds s) |
SimClockActivity (RTT::base::RunnableInterface *run=0, const std::string &name="SimClockActivity") | |
SimClockActivity (RTT::Seconds period, RTT::base::RunnableInterface *r=0, const std::string &name="SimClockActivity") | |
virtual bool | start () |
virtual void | step () |
virtual bool | stop () |
virtual RTT::os::ThreadInterface * | thread () |
virtual bool | timeout () |
virtual bool | trigger () |
virtual | ~SimClockActivity () |
Public Member Functions inherited from RTT::base::ActivityInterface | |
ActivityInterface () | |
ActivityInterface (RunnableInterface *run) | |
virtual RunnableInterface * | getRunner () const |
virtual bool | run (RunnableInterface *r) |
virtual | ~ActivityInterface () |
Private Attributes | |
bool | active_ |
True if start() has been called. More... | |
RTT::os::TimeService::ticks | last_ |
The last time the activity was executed. More... | |
boost::shared_ptr< SimClockActivityManager > | manager_ |
Parent activity manager. More... | |
std::string | name_ |
RTT::Seconds | period_ |
The desired minimum execution period. More... | |
bool | running_ |
True after start() has succeeded. More... | |
Additional Inherited Members | |
Public Types inherited from RTT::base::ActivityInterface | |
typedef boost::shared_ptr< ActivityInterface > | shared_ptr |
Protected Member Functions inherited from RTT::base::ActivityInterface | |
void | disableRun (RunnableInterface *caller) |
Protected Attributes inherited from RTT::base::ActivityInterface | |
RunnableInterface * | runner |
Definition at line 58 of file rtt_rosclock_sim_clock_activity.h.
SimClockActivity::SimClockActivity | ( | RTT::base::RunnableInterface * | run = 0 , |
const std::string & | name = "SimClockActivity" |
||
) |
Definition at line 56 of file rtt_rosclock_sim_clock_activity.cpp.
SimClockActivity::SimClockActivity | ( | RTT::Seconds | period, |
RTT::base::RunnableInterface * | r = 0 , |
||
const std::string & | name = "SimClockActivity" |
||
) |
Definition at line 67 of file rtt_rosclock_sim_clock_activity.cpp.
|
virtual |
Definition at line 78 of file rtt_rosclock_sim_clock_activity.cpp.
|
virtual |
Definition at line 140 of file rtt_rosclock_sim_clock_activity.cpp.
|
virtual |
Implements RTT::base::ActivityInterface.
Definition at line 203 of file rtt_rosclock_sim_clock_activity.cpp.
|
virtual |
Definition at line 145 of file rtt_rosclock_sim_clock_activity.cpp.
|
virtual |
Implements RTT::base::ActivityInterface.
Definition at line 103 of file rtt_rosclock_sim_clock_activity.cpp.
|
virtual |
Definition at line 225 of file rtt_rosclock_sim_clock_activity.cpp.
|
virtual |
Implements RTT::base::ActivityInterface.
Definition at line 84 of file rtt_rosclock_sim_clock_activity.cpp.
|
virtual |
Definition at line 118 of file rtt_rosclock_sim_clock_activity.cpp.
|
virtual |
Implements RTT::base::ActivityInterface.
Definition at line 188 of file rtt_rosclock_sim_clock_activity.cpp.
|
virtual |
Implements RTT::base::ActivityInterface.
Definition at line 92 of file rtt_rosclock_sim_clock_activity.cpp.
|
virtual |
Implements RTT::base::ActivityInterface.
Definition at line 183 of file rtt_rosclock_sim_clock_activity.cpp.
|
virtual |
Definition at line 135 of file rtt_rosclock_sim_clock_activity.cpp.
|
virtual |
Implements RTT::base::ActivityInterface.
Definition at line 108 of file rtt_rosclock_sim_clock_activity.cpp.
|
virtual |
Implements RTT::base::ActivityInterface.
Definition at line 97 of file rtt_rosclock_sim_clock_activity.cpp.
|
virtual |
Implements RTT::base::ActivityInterface.
Definition at line 149 of file rtt_rosclock_sim_clock_activity.cpp.
|
virtual |
Definition at line 123 of file rtt_rosclock_sim_clock_activity.cpp.
|
virtual |
Implements RTT::base::ActivityInterface.
Definition at line 169 of file rtt_rosclock_sim_clock_activity.cpp.
|
virtual |
Implements RTT::base::ActivityInterface.
Definition at line 113 of file rtt_rosclock_sim_clock_activity.cpp.
|
virtual |
Implements RTT::base::ActivityInterface.
Definition at line 198 of file rtt_rosclock_sim_clock_activity.cpp.
|
virtual |
Implements RTT::base::ActivityInterface.
Definition at line 193 of file rtt_rosclock_sim_clock_activity.cpp.
|
private |
True if start() has been called.
Definition at line 114 of file rtt_rosclock_sim_clock_activity.h.
|
private |
The last time the activity was executed.
Definition at line 117 of file rtt_rosclock_sim_clock_activity.h.
|
private |
Parent activity manager.
Definition at line 120 of file rtt_rosclock_sim_clock_activity.h.
|
private |
Definition at line 105 of file rtt_rosclock_sim_clock_activity.h.
|
private |
The desired minimum execution period.
Definition at line 108 of file rtt_rosclock_sim_clock_activity.h.
|
private |
True after start() has succeeded.
Definition at line 111 of file rtt_rosclock_sim_clock_activity.h.