openDAQ
Open data acquisition platform
SignalEventsPtr Class Reference

Internal functions of a signal containing event methods that are called on certain events. Eg. when a signal is connected to an input port, or when a signal is used as a domain signal of another. More...

Inherits ObjectPtr< ISignalEvents >.

Detailed Description

Internal functions of a signal containing event methods that are called on certain events. Eg. when a signal is connected to an input port, or when a signal is used as a domain signal of another.

Public Member Functions

void listenerConnected (const daq::ConnectionPtr &connection) const
 Notifies the signal that it has been connected to an input port forming a new connection. More...
 
void listenerDisconnected (const daq::ConnectionPtr &connection) const
 Notifies the signal that it has been disconnected from an input port with the given connection. More...
 
void domainSignalReferenceSet (const daq::SignalPtr &signal) const
 Notifies the signal that it is being used as a domain signal by the signal passed as the function argument. More...
 
void domainSignalReferenceRemoved (const daq::SignalPtr &signal) const
 Notifies the signal that it is no longer being used as a domain signal by the signal passed as the function argument. More...
 

Member Function Documentation

◆ domainSignalReferenceRemoved()

void domainSignalReferenceRemoved ( const daq::SignalPtr &  signal) const
inline

Notifies the signal that it is no longer being used as a domain signal by the signal passed as the function argument.

Parameters
signalThe callee signal on which the domain signal reference has been removed.

◆ domainSignalReferenceSet()

void domainSignalReferenceSet ( const daq::SignalPtr &  signal) const
inline

Notifies the signal that it is being used as a domain signal by the signal passed as the function argument.

Parameters
signalThe callee signal on which the domain signal reference has been set.

◆ listenerConnected()

void listenerConnected ( const daq::ConnectionPtr &  connection) const
inline

Notifies the signal that it has been connected to an input port forming a new connection.

Parameters
connectionThe formed connection.

◆ listenerDisconnected()

void listenerDisconnected ( const daq::ConnectionPtr &  connection) const
inline

Notifies the signal that it has been disconnected from an input port with the given connection.

Parameters
connectionThe connection that was broken.