openDAQ
Open data acquisition platform
GenericMirroredDeviceConfigPtr< InterfaceType > Class Template Reference

Represents configuration interface for mirrored device. Allows attaching and removing streaming data sources associated with the device. More...

Detailed Description

template<typename InterfaceType>
class GenericMirroredDeviceConfigPtr< InterfaceType >

Represents configuration interface for mirrored device. Allows attaching and removing streaming data sources associated with the device.

Public Member Functions

void addStreamingSource (const daq::StreamingPtr &streamingSource) const
 Adds streaming source for device. More...
 
void removeStreamingSource (const daq::StringPtr &streamingConnectionString) const
 Removes streaming source for device e.g. when the streaming source is no longer available. More...
 

Member Function Documentation

◆ addStreamingSource()

void addStreamingSource ( const daq::StreamingPtr &  streamingSource) const
inline

Adds streaming source for device.

Parameters
streamingThe Streaming object representing the data source.

◆ removeStreamingSource()

void removeStreamingSource ( const daq::StringPtr &  streamingConnectionString) const
inline

Removes streaming source for device e.g. when the streaming source is no longer available.

Parameters
streamingConnectionStringThe connection string of streaming source to be removed.