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

The configuration component of a Signal. Allows for configuration of its properties, managing its streaming sources, and sending packets through its connections. More...

Detailed Description

template<typename InterfaceType>
class GenericSignalConfigPtr< InterfaceType >

The configuration component of a Signal. Allows for configuration of its properties, managing its streaming sources, and sending packets through its connections.

The Signal config is most often accessible only to the devices or function blocks that own the signal. They react on property, or input signal changes to modify a signal's data descriptor, and send processed/acquired data down its signal path.

Public Member Functions

void setDescriptor (const daq::DataDescriptorPtr &descriptor) const
 Sets the data descriptor. More...
 
void setDomainSignal (const daq::GenericSignalPtr< daq::ISignal > &signal) const
 Sets the domain signal reference. More...
 
void setRelatedSignals (const daq::ListPtr< daq::ISignal > &signals) const
 Sets the list of related signals. More...
 
void addRelatedSignal (const daq::GenericSignalPtr< daq::ISignal > &signal) const
 Adds a related signal to the list of related signals. More...
 
void removeRelatedSignal (const daq::GenericSignalPtr< daq::ISignal > &signal) const
 Removes a signal from the list of related signal. More...
 
void clearRelatedSignals () const
 Clears the list of related signals.
 
void sendPacket (const daq::PacketPtr &packet) const
 Sends a packet through all connections of the signal. More...
 
void sendPackets (const daq::ListPtr< daq::IPacket > &packets) const
 Sends multiple packets through all connections of the signal. More...
 
void sendPacket (daq::PacketPtr &&packet) const
 Sends a packet through all connections of the signal. Ownership of the packet is transfered. More...
 
void sendPackets (daq::ListPtr< daq::IPacket > &&packets) const
 Sends multiple packets through all connections of the signal. Ownership of the packets is transfered. More...