Notifications object passed to the input port on construction by its owner (listener).
More...
Inherits ObjectPtr< IInputPortNotifications >.
Notifications object passed to the input port on construction by its owner (listener).
Input ports invoke the notification functions within the Input port notifications object when corresponding events occur. The listener can then react on those events.
|
daq::Bool | acceptsSignal (const daq::InputPortPtr &port, const daq::SignalPtr &signal) const |
| Called when the Input port method acceptsSignal is called. Should return true if the signal is accepted; false otherwise. More...
|
|
void | connected (const daq::InputPortPtr &port) const |
| Called when a signal is connected to the input port. More...
|
|
void | disconnected (const daq::InputPortPtr &port) const |
| Called when a signal is disconnected from the input port. More...
|
|
void | packetReceived (const daq::InputPortPtr &port) const |
| Notifies the listener of the newly received packet on the specified input-port. More...
|
|
◆ acceptsSignal()
daq::Bool acceptsSignal |
( |
const daq::InputPortPtr & |
port, |
|
|
const daq::SignalPtr & |
signal |
|
) |
| const |
|
inline |
Called when the Input port method acceptsSignal
is called. Should return true if the signal is accepted; false otherwise.
- Parameters
-
port | The input port on which the method was called. |
signal | The signal which is being checked for acceptance. |
- Returns
- True if the signal is accepted; false otherwise.
◆ connected()
void connected |
( |
const daq::InputPortPtr & |
port | ) |
const |
|
inline |
Called when a signal is connected to the input port.
- Parameters
-
port | The port to which the signal was connected. |
◆ disconnected()
void disconnected |
( |
const daq::InputPortPtr & |
port | ) |
const |
|
inline |
Called when a signal is disconnected from the input port.
- Parameters
-
port | The port from which a signal was disconnected. |
◆ packetReceived()
void packetReceived |
( |
const daq::InputPortPtr & |
port | ) |
const |
|
inline |
Notifies the listener of the newly received packet on the specified input-port.
- Parameters
-
port | The port on which the new packet was received. |