Public Member Functions | Public Attributes | List of all members
OCL::TimerComponent::TimeoutCatcher Struct Reference

#include <TimerComponent.hpp>

Inheritance diagram for OCL::TimerComponent::TimeoutCatcher:
Inheritance graph
[legend]

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
ActivityInterfacegetActivity () const
 
virtual os::ThreadInterfacegetThread () 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< TimerInfoTimerIds
 
- 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::ActivityInterfacemThread
 
TimerIds mtimers
 

Detailed Description

Helper class for catching the virtual timeout function of Timer.

Definition at line 28 of file TimerComponent.hpp.

Constructor & Destructor Documentation

OCL::TimerComponent::TimeoutCatcher::TimeoutCatcher ( std::vector< RTT::OutputPort< RTT::os::Timer::TimerId > * > &  port_timers,
RTT::OutputPort< RTT::os::Timer::TimerId > &  op,
const std::string &  name 
)
inline

Definition at line 31 of file TimerComponent.hpp.

Member Function Documentation

virtual void OCL::TimerComponent::TimeoutCatcher::timeout ( os::Timer::TimerId  id)
inlinevirtual

Reimplemented from RTT::os::Timer.

Definition at line 36 of file TimerComponent.hpp.

Member Data Documentation

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.


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


ocl
Author(s): OCL Development Team
autogenerated on Mon Mar 23 2020 04:47:20