|
openDAQ
Open data acquisition platform
|
Collaboration diagram for Signal:Modules | |
| Factories | |
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... | |
| void | setLastValue (const daq::BaseObjectPtr &lastValue) const |
| Sets the last value of the signal. More... | |
|
inline |
Adds a related signal to the list of related signals.
| signal | The signal to be added. |
| DuplicateItemException | if the signal is already present in the list. |
|
inline |
Removes a signal from the list of related signal.
| signal | The signal to be removed. |
| NotFoundException | if the signal is not part of the list. |
|
inline |
Sends a packet through all connections of the signal.
| packet | The packet to be sent. |
|
inline |
Sends a packet through all connections of the signal. Ownership of the packet is transfered.
| packet | The packet to be sent. |
After calling the method, the packet should not be touched again. The ownership of the packet is taken by underlying connections and it could be destroyed before the function returns.
|
inline |
Sends multiple packets through all connections of the signal.
| packets | The packets to be sent. |
Sending multiple packets creates a single notification to input port.
|
inline |
Sends multiple packets through all connections of the signal. Ownership of the packets is transfered.
| packets | The packets to be sent. |
After calling the method, the packets should not be touched again. The ownership of the packets is taken by underlying connections and they could be destroyed before the function returns.
|
inline |
Sets the data descriptor.
| descriptor | The data descriptor. |
Setting the data descriptor triggers a Descriptor changed event packet to be sent to all connections of the signal. If the signal is a domain signal of another, that signal also sends a Descriptor changed event to all its connections.
|
inline |
Sets the domain signal reference.
| signal | The domain signal. |
Setting a new domain signal triggers a Descriptor changed event packet to be sent to all connections of the signal.
|
inline |
Sets the last value of the signal.
| lastValue | The lastValue. |
This method is used to manually set the last value of the signal. Useful when automatic calculation of last value is disabled, usually due to performance reasons.
|
inline |
Sets the list of related signals.
| signals | The list of related signals. |