Public Member Functions | Private Attributes
rtt_rosclock::SimClockActivity Class Reference

#include <rtt_rosclock_sim_clock_activity.h>

Inheritance diagram for rtt_rosclock::SimClockActivity:
Inheritance graph
[legend]

List of all members.

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::ThreadInterfacethread ()
virtual bool timeout ()
virtual bool trigger ()
virtual ~SimClockActivity ()

Private Attributes

bool active_
 True if start() has been called.
RTT::os::TimeService::ticks last_
 The last time the activity was executed.
boost::shared_ptr
< SimClockActivityManager
manager_
 Parent activity manager.
std::string name_
RTT::Seconds period_
 The desired minimum execution period.
bool running_
 True after start() has succeeded.

Detailed Description

Definition at line 58 of file rtt_rosclock_sim_clock_activity.h.


Constructor & Destructor Documentation

SimClockActivity::SimClockActivity ( RTT::base::RunnableInterface run = 0,
const std::string &  name = "SimClockActivity" 
)

Definition at line 55 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 66 of file rtt_rosclock_sim_clock_activity.cpp.

Definition at line 77 of file rtt_rosclock_sim_clock_activity.cpp.


Member Function Documentation

bool SimClockActivity::breakLoop ( ) [virtual]

Definition at line 139 of file rtt_rosclock_sim_clock_activity.cpp.

bool SimClockActivity::execute ( ) [virtual]

Implements RTT::base::ActivityInterface.

Definition at line 202 of file rtt_rosclock_sim_clock_activity.cpp.

void SimClockActivity::finalize ( ) [virtual]

Definition at line 144 of file rtt_rosclock_sim_clock_activity.cpp.

unsigned SimClockActivity::getCpuAffinity ( ) const [virtual]

Implements RTT::base::ActivityInterface.

Definition at line 102 of file rtt_rosclock_sim_clock_activity.cpp.

Definition at line 224 of file rtt_rosclock_sim_clock_activity.cpp.

Implements RTT::base::ActivityInterface.

Definition at line 83 of file rtt_rosclock_sim_clock_activity.cpp.

bool SimClockActivity::initialize ( ) [virtual]

Definition at line 117 of file rtt_rosclock_sim_clock_activity.cpp.

bool SimClockActivity::isActive ( void  ) const [virtual]

Implements RTT::base::ActivityInterface.

Definition at line 187 of file rtt_rosclock_sim_clock_activity.cpp.

bool SimClockActivity::isPeriodic ( ) const [virtual]

Implements RTT::base::ActivityInterface.

Definition at line 91 of file rtt_rosclock_sim_clock_activity.cpp.

bool SimClockActivity::isRunning ( void  ) const [virtual]

Implements RTT::base::ActivityInterface.

Definition at line 182 of file rtt_rosclock_sim_clock_activity.cpp.

void SimClockActivity::loop ( ) [virtual]

Definition at line 134 of file rtt_rosclock_sim_clock_activity.cpp.

bool SimClockActivity::setCpuAffinity ( unsigned  cpu) [virtual]

Implements RTT::base::ActivityInterface.

Definition at line 107 of file rtt_rosclock_sim_clock_activity.cpp.

Implements RTT::base::ActivityInterface.

Definition at line 96 of file rtt_rosclock_sim_clock_activity.cpp.

bool SimClockActivity::start ( void  ) [virtual]

Implements RTT::base::ActivityInterface.

Definition at line 148 of file rtt_rosclock_sim_clock_activity.cpp.

void SimClockActivity::step ( ) [virtual]

Definition at line 122 of file rtt_rosclock_sim_clock_activity.cpp.

bool SimClockActivity::stop ( void  ) [virtual]

Implements RTT::base::ActivityInterface.

Definition at line 168 of file rtt_rosclock_sim_clock_activity.cpp.

Implements RTT::base::ActivityInterface.

Definition at line 112 of file rtt_rosclock_sim_clock_activity.cpp.

bool SimClockActivity::timeout ( ) [virtual]

Definition at line 197 of file rtt_rosclock_sim_clock_activity.cpp.

bool SimClockActivity::trigger ( ) [virtual]

Implements RTT::base::ActivityInterface.

Definition at line 192 of file rtt_rosclock_sim_clock_activity.cpp.


Member Data Documentation

True if start() has been called.

Definition at line 114 of file rtt_rosclock_sim_clock_activity.h.

The last time the activity was executed.

Definition at line 117 of file rtt_rosclock_sim_clock_activity.h.

Parent activity manager.

Definition at line 120 of file rtt_rosclock_sim_clock_activity.h.

Definition at line 105 of file rtt_rosclock_sim_clock_activity.h.

The desired minimum execution period.

Definition at line 108 of file rtt_rosclock_sim_clock_activity.h.

True after start() has succeeded.

Definition at line 111 of file rtt_rosclock_sim_clock_activity.h.


The documentation for this class was generated from the following files:


rtt_rosclock
Author(s):
autogenerated on Mon Apr 3 2017 03:35:24