|
RTC Toolkit
2.0.0
|
Life cycle extension to make RtcComponent Optimisable. More...
#include <optimisable.hpp>
Classes | |
| class | BizLogicIf |
| Business logic interface for Optimisable mixin. More... | |
| class | InputStage |
| class | ModelBuilder |
| class | OutputStage |
Life cycle extension to make RtcComponent Optimisable.
On:Operational:OptimiseIdle – No optimisation is in progress.On:Operational:OptimiseBusy – An optimisation is in progress.events.Optimise – Event created from the OptCmds::Optimise MAL command, containing a JSON encoded string with arguments to the activity. If this event is received in On:Operational:OptimiseIdle the BizLogicIf::IsOptimiseAllowed will be invoked to determine if optimise activity can be started with the provided argument.events.OptimiseDone – Event created if the Activity.Optimise succeeds.events.OptimiseError – Event created if the Activity.Optimise fails and contains a rtctk::componentFramework::RtctkException that will be used as command reply.Activity.Optimise – Activity started when events.Optimise triggers transition to On:Operational:OptimiseBusy (guarded by BizLogicIf::IsOptimiseAllowed). The activity method is BizLogicIf::Optimise.