RTC Toolkit 6.0.0-pre2
Loading...
Searching...
No Matches
rtctk::componentFramework::Measurable< Super > Struct Template Reference

Life cycle extension to make RtcComponent Measurable. More...

#include <rtctk/componentFramework/measurable.hpp>

Inheritance diagram for rtctk::componentFramework::Measurable< Super >:

Classes

class  BizLogicIf
 Business logic interface for Measurable mixin. More...
 
class  InputStage
 
class  ModelBuilder
 
class  OutputStage
 

Detailed Description

template<typename Super>
struct rtctk::componentFramework::Measurable< Super >

Life cycle extension to make RtcComponent Measurable.

Notable states
  • On::Operational:Measure:Idle – No measurement is active.
  • On::Operational:Measure:Busy – A measurement is active.
Notable events
  • events.MeasureEvent created from the MeasCmds.Measure MAL command, containing a JSON encoded string with arguments to the measurement activity. If this event is received in On::Operational:Measure:Idle the BizLogicIf::GuardMeasuringAllowed will be invoked to determine if measurement activity can be started with the provided argument.
  • events.MeasureDoneEvent created if the Activity.Measure succeeds.
  • events.MeasureErrorEvent created if the Activity.Measure fails and contains a rtctk::componentFramework::RtctkException that will be used as command reply.
Notable activities
Assumptions
Note
Measurable assumes that no external party modifies the state machine so it affects states, transitions, actions or guards added by this mixin. Doing so may lead to undefined behaviour and crashes.

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