RTC Toolkit
2.0.0
|
Life cycle extension to make RtcComponent Measurable. More...
#include <measurable.hpp>
Classes | |
class | BizLogicIf |
Business logic interface for Measurable mixin. More... | |
class | InputStage |
class | ModelBuilder |
class | OutputStage |
Life cycle extension to make RtcComponent Measurable.
On:Operational:MeasureIdle
– No measurement is active.On:Operational:MeasureBusy
– A measurement is active.events.Measure
– Event 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:MeasureIdle
the BizLogicIf::IsMeasuringAllowed will be invoked to determine if measurement activity can be started with the provided argument.events.MeasureDone
– Event created if the Activity.Measure
succeeds.events.MeasureError
– Event created if the Activity.Measure
fails and contains a rtctk::componentFramework::RtctkException
that will be used as command reply.Activity.Measuring
– Activity started when events.Measure
triggers transition to On:Operational:MeasureBusy
(guarded by BizLogicIf::IsMeasuringAllowed). The activity method is BizLogicIf::Measuring.