RTC Toolkit 5.1.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
rtctk::ddtServer::BusinessLogic Class Reference

Defines and implements the business logic of the DDT Server, an RTC Component that subscribes to a shared memory queue, and publishes samples through DDT. More...

#include <rtctk/ddtServer/businessLogic.hpp>

Inheritance diagram for rtctk::ddtServer::BusinessLogic:
rtctk::componentFramework::Runnable< Super >::BizLogicIf

Public Types

using ComponentType = LifeCycle
 
using StopToken = rtctk::componentFramework::StopToken
 
using JsonPayload = rtctk::componentFramework::JsonPayload
 
using ServiceContainer = rtctk::componentFramework::ServiceContainer
 

Public Member Functions

 BusinessLogic (const std::string &name, ServiceContainer &services, DdtForwarderFactoryType factory)
 
virtual ~BusinessLogic ()=default
 
void ActivityStarting (StopToken st) override
 
void ActivityInitialising (StopToken st) override
 
void ActivityGoingRunning (StopToken st) override
 
void ActivityGoingIdle (StopToken st) override
 
void ActivityRunning (StopToken st) override
 
void ActivityRecovering (StopToken st) override
 
void ActivityUpdating (StopToken st, const JsonPayload &args) override
 

Detailed Description

Defines and implements the business logic of the DDT Server, an RTC Component that subscribes to a shared memory queue, and publishes samples through DDT.

Member Typedef Documentation

◆ ComponentType

◆ JsonPayload

◆ ServiceContainer

◆ StopToken

Constructor & Destructor Documentation

◆ BusinessLogic()

BusinessLogic::BusinessLogic ( const std::string & name,
ServiceContainer & services,
DdtForwarderFactoryType factory )

◆ ~BusinessLogic()

virtual rtctk::ddtServer::BusinessLogic::~BusinessLogic ( )
virtualdefault

Member Function Documentation

◆ ActivityGoingIdle()

void BusinessLogic::ActivityGoingIdle ( StopToken st)
overridevirtual

◆ ActivityGoingRunning()

void BusinessLogic::ActivityGoingRunning ( StopToken st)
overridevirtual

◆ ActivityInitialising()

void BusinessLogic::ActivityInitialising ( StopToken st)
override

◆ ActivityRecovering()

void BusinessLogic::ActivityRecovering ( StopToken st)
overridevirtual

◆ ActivityRunning()

void BusinessLogic::ActivityRunning ( StopToken st)
overridevirtual

◆ ActivityStarting()

void BusinessLogic::ActivityStarting ( StopToken st)
override

◆ ActivityUpdating()

void BusinessLogic::ActivityUpdating ( StopToken st,
const JsonPayload & args )
override

The documentation for this class was generated from the following files: