OpenRTM-aist 2.1.0
Loading...
Searching...
No Matches
RTC::Link< C, P > Class Template Reference

#include <StaticFSM.h>

Inheritance diagram for RTC::Link< C, P >:
Collaboration diagram for RTC::Link< C, P >:

Public Types

using LINK = Link<C, P>

Public Member Functions

void entry () override
void init () override
void exit () override
virtual RTC::ReturnCode_t onEntry ()
virtual RTC::ReturnCode_t onInit ()
virtual RTC::ReturnCode_t onExit ()

Public Attributes

RTObject_implrtComponent

Protected Member Functions

 Link (Macho::_StateInstance &instance)
 ~Link () override=default
void setrtc ()

Additional Inherited Members

Detailed Description

template<class C, class P>
class RTC::Link< C, P >

This is modified version of Macho::Link<C, P> class template. Link class itself State object class.

Default state operation entry/init/exit is used internally, and new state operations onEntry/onInit/onExit are added. These onXXX state operations should be override from state implementations.

Member Typedef Documentation

◆ LINK

template<class C, class P>
using RTC::Link< C, P >::LINK = Link<C, P>

Constructor & Destructor Documentation

◆ Link()

template<class C, class P>
RTC::Link< C, P >::Link ( Macho::_StateInstance & instance)
inlineprotected

References Link(), and rtComponent.

Referenced by Link().

◆ ~Link()

template<class C, class P>
RTC::Link< C, P >::~Link ( )
overrideprotecteddefault

Member Function Documentation

◆ entry()

template<class C, class P>
void RTC::Link< C, P >::entry ( )
inlineoverride

References onEntry(), rtComponent, and setrtc().

◆ exit()

template<class C, class P>
void RTC::Link< C, P >::exit ( )
inlineoverride

References onExit(), rtComponent, and setrtc().

◆ init()

template<class C, class P>
void RTC::Link< C, P >::init ( )
inlineoverride

References onInit(), rtComponent, and setrtc().

◆ onEntry()

template<class C, class P>
virtual RTC::ReturnCode_t RTC::Link< C, P >::onEntry ( )
inlinevirtual

Referenced by entry().

◆ onExit()

template<class C, class P>
virtual RTC::ReturnCode_t RTC::Link< C, P >::onExit ( )
inlinevirtual

Referenced by exit().

◆ onInit()

template<class C, class P>
virtual RTC::ReturnCode_t RTC::Link< C, P >::onInit ( )
inlinevirtual

Referenced by init().

◆ setrtc()

template<class C, class P>
void RTC::Link< C, P >::setrtc ( )
inlineprotected

References rtComponent.

Referenced by entry(), exit(), and init().

Member Data Documentation

◆ rtComponent

template<class C, class P>
RTObject_impl* RTC::Link< C, P >::rtComponent

Referenced by entry(), exit(), init(), Link(), and setrtc().


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