openDAQ
Open data acquisition platform
ComponentStatusContainerPrivatePtr Class Reference

Provides access to private methods of the Component status container. More...

Inherits ObjectPtr< IComponentStatusContainerPrivate >.

Detailed Description

Provides access to private methods of the Component status container.

Said methods allow for adding new statuses and setting a value for existing statuses stored in the component status container.

Status changed Core events are triggered whenever there is a change in the status of the openDAQ Component.

Public Member Functions

void addStatus (const daq::StringPtr &name, const daq::EnumerationPtr &initialValue) const
 Adds the new status with given name and initial value. More...
 
void setStatus (const daq::StringPtr &name, const daq::EnumerationPtr &value) const
 Sets the value for the existing component status. More...
 

Member Function Documentation

◆ addStatus()

void addStatus ( const daq::StringPtr &  name,
const daq::EnumerationPtr &  initialValue 
) const
inline

Adds the new status with given name and initial value.

Parameters
nameThe name of the component status.
initialValueThe initial value of the component status.

◆ setStatus()

void setStatus ( const daq::StringPtr &  name,
const daq::EnumerationPtr &  value 
) const
inline

Sets the value for the existing component status.

Parameters
nameThe name of the component status.
valueThe new value of the component status.