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

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

#include <rtctk/componentFramework/optimisable.hpp>

Inheritance diagram for rtctk::componentFramework::Optimisable< Super >:
rtctk::exampleCustom::CustomLifeCycle< Optimisable< Runnable< RtcComponent > > >

Classes

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

Detailed Description

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

Life cycle extension to make RtcComponent Optimisable.

Notable states
  • On::Operational:Optimise:Idle – No optimisation is in progress.
  • On::Operational:Optimise:Busy – An optimisation is in progress.
Notable events
  • events.OptimiseEvent 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:Optimise:Idle the BizLogicIf::GuardOptimisingAllowed will be invoked to determine if optimise activity can be started with the provided argument.
  • events.OptimiseDoneEvent created if the Activity.Optimise succeeds.
  • events.OptimiseErrorEvent created if the Activity.Optimise fails and contains a rtctk::componentFramework::RtctkException that will be used as command reply.
Notable activities

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