RTC Toolkit  2.0.0
Files | Classes | Functions

Basic RTC Component Functionality. More...

Files

file  commandReplier.cpp
 Implementation of the CommandReplier class.
 
file  commandRequestor.cpp
 Implementation of the CommandRequestor class.
 
file  commandReplier.hpp
 Receive commands via MAL.
 
file  commandRequestor.hpp
 Send commands using MAL.
 
file  rtcComponent.hpp
 Provides details for core functionality of an RTC Component.
 
file  loopaware.hpp
 Lifecycle Extension that makes an RTC Component 'Loopaware'.
 
file  loopCmdsImpl.hpp
 Implementation of MAL commands for layer 'Loopaware'.
 
file  malEventInjector.hpp
 Provides core functionality of an RTC Component.
 
file  measCmdsImpl.hpp
 Implementation of MAL commands for layer 'Measurable'.
 
file  measurable.hpp
 Lifecycle Extension that makes an RTC Component 'Measurable'.
 
file  model.hpp
 In-memory representation of the state machine model.
 
file  modelBuilderBase.hpp
 Base class of the ModelBuilder.
 
file  modelExport.hpp
 Export the state machine model in various formats.
 
file  modelManipulator.hpp
 Manipulate the in-memory state machine model.
 
file  optCmdsImpl.hpp
 Implementation of MAL commands for layer 'Optimisable'.
 
file  optimisable.hpp
 Lifecycle Extension that makes an RTC Component 'Optimisable'.
 
file  payload.hpp
 Defines an agnostic payload type based on std::string.
 
file  rtcCmdsImpl.hpp
 Implementation of MAL commands for layer 'RtcComponent'.
 
file  rtcComponent.hpp
 Lifecycle of a basic 'RtcComponent'.
 
file  rtcComponentMain.hpp
 Provides core functionality of an RTC Component.
 
file  runnable.hpp
 Lifecycle Extension that makes an RTC Component 'Runnable'.
 
file  stateMachineEngine.hpp
 Wrapper around the SCXML State Machine Engine.
 
file  statePublisher.hpp
 Publishes the stdif state topic via MAL.
 
file  stateSubscriber.hpp
 Subscribes to stdif state topic via MAL.
 
file  stdBizLogicIf.hpp
 Business Logic Interfaces with methods to be implemented in layer 'StdComponent'.
 
file  stdCmdsImpl.hpp
 Implementation of MAL commands for layer 'StdComponent'.
 
file  stdComponent.hpp
 Lifecycle of the 'Standard Component'.
 
file  stopToken.hpp
 A simple Stop Token.
 
file  suspCmdsImpl.hpp
 Implementation of MAL commands for layer 'Suspendable'.
 
file  suspendable.hpp
 Lifecycle Extension that makes a 'Loopaware' RTC Component 'Suspendable'.
 
file  utils.hpp
 Various utilities for Life Cycle Extension.
 
file  modelExport.cpp
 Implementation of the state machine model export.
 
file  modelManipulator.cpp
 Implementation of the state machine ModelManiplulator class.
 
file  stateMachineEngine.cpp
 Implementation of the wrapper around the rad StateMachineEngine.
 
file  statePublisher.cpp
 Implementation of the StatePublisher class.
 
file  stateSubscriber.cpp
 Implementation of the StateSubscriber class.
 
file  threadActivity.cpp
 Implementation of the ThreadActivity class.
 
file  threadActivity.hpp
 A thread-based activity class.
 
file  jsonPayload.hpp
 Defines the JSON payload type JsonPayload.
 

Classes

struct  rtctk::componentFramework::Loopaware< Super >
 Life cycle extension to make RtcComponent Loopaware. More...
 
struct  rtctk::componentFramework::Measurable< Super >
 Life cycle extension to make RtcComponent Measurable. More...
 
struct  rtctk::componentFramework::Optimisable< Super >
 Life cycle extension to make RtcComponent Optimisable. More...
 
struct  rtctk::componentFramework::RtcComponent
 Basic life cycle for RtcComponent. More...
 
struct  rtctk::componentFramework::Runnable< Super >
 Life cycle extension to make RtcComponent Runnable. More...
 
struct  rtctk::componentFramework::StdComponent< Options >
 Basic life cycle for StdComponent. More...
 
struct  rtctk::componentFramework::Suspendable< Super >
 Life cycle extension to make Loopaware RtcComponent Suspendable. More...
 
struct  rtctk::metadataCollector::Acquisitor< Super >
 Life cycle extension for Acquisitor RtcComponent. More...
 

Functions

void RtcComponentMain (rtctk::componentFramework::Args const &args)
 Main entry point for user code, method must be implemented by component developers. More...
 
template<class BL , class BLF >
void rtctk::componentFramework::RunAsRtcComponent (Args const &args, BLF factory)
 RTC Component runner function, needed to run custom BusinessLogic as RTC Component. More...
 
template<class BL >
void rtctk::componentFramework::RunAsRtcComponent (Args const &args)
 RTC Component runner function, needed to run custom BusinessLogic as RTC Component. More...
 

Detailed Description

Basic RTC Component Functionality.

Function Documentation

◆ RtcComponentMain()

void RtcComponentMain ( rtctk::componentFramework::Args const &  args)

Main entry point for user code, method must be implemented by component developers.

TelSub Application Entrypoint.

Parameters
argsopaque arguments class to be passed on to the RTC Component runner function.
Exceptions
variousexceptions, which are caught in main
Note
This is invoked by RTCTK Component Framework main() implementation.

Main entry point for user code, method must be implemented by component developers.

Note
This is invoked by RTCTK Component Framework main() implementation.

◆ RunAsRtcComponent() [1/2]

template<class BL >
void rtctk::componentFramework::RunAsRtcComponent ( Args const &  args)

RTC Component runner function, needed to run custom BusinessLogic as RTC Component.

Template Parameters
BL,typespecification of logic class, must implement BizLogicIf.
Parameters
argsopaque arguments class to be passed on to the RTC Component class.
Exceptions
variousexceptions, which are caught in main

◆ RunAsRtcComponent() [2/2]

template<class BL , class BLF >
void rtctk::componentFramework::RunAsRtcComponent ( Args const &  args,
BLF  factory 
)

RTC Component runner function, needed to run custom BusinessLogic as RTC Component.

This method allows the defintion of a custom business logic factory to cover cases where the Business Logic class is not constructible with default arguments only.

Template Parameters
BL,typespecification of logic class, must implement BizLogicIf.
BLF,typespecification of business logic factory class.
Parameters
argsopaque arguments class to be passed on to the RTC Component class.
factoryfactory class that constructs and returns a BusinessLogic object.
Exceptions
variousexceptions, which are caught in main