Represents how the input port should handle the packet-enqueued notification.
More...
Represents how the input port should handle the packet-enqueued notification.
|
struct | IInputPort |
| Signals accepted by input ports can be connected, forming a connection between the input port and signal, through which Packets can be sent. More...
|
|
struct | IInputPortConfig |
| The configuration component of input ports. Provides access to Input port owners to internal components of the input port. More...
|
|
struct | IInputPortNotifications |
| Notifications object passed to the input port on construction by its owner (listener). More...
|
|
struct | IInputPortPrivate |
| Internal functions used by openDAQ core. This interface should never be used in client SDK or module code. More...
|
|
class | InputPortConfigPtr |
| The configuration component of input ports. Provides access to Input port owners to internal components of the input port. More...
|
|
class | InputPortNotificationsPtr |
| Notifications object passed to the input port on construction by its owner (listener). More...
|
|
class | InputPortPrivatePtr |
| Internal functions used by openDAQ core. This interface should never be used in client SDK or module code. More...
|
|
class | GenericInputPortPtr< InterfaceType > |
| Signals accepted by input ports can be connected, forming a connection between the input port and signal, through which Packets can be sent. More...
|
|
|
void | setNotificationMethod (daq::PacketReadyNotification method) const |
| Sets the input-ports response to the packet enqueued notification.
|
|
void | notifyPacketEnqueued (daq::Bool queueWasEmpty) const |
| Gets called when a packet was enqueued in a connection. More...
|
|
void | notifyPacketEnqueuedOnThisThread () const |
| Gets called when a packet was enqueued in a connection. More...
|
|
void | setListener (const daq::InputPortNotificationsPtr &port) const |
| Set the object receiving input-port related events and notifications.
|
|
daq::BaseObjectPtr | getCustomData () const |
| Get a custom data attached to the object.
|
|
void | setCustomData (const daq::BaseObjectPtr &customData) const |
| Set a custom data attached to the object.
|
|
void | setRequiresSignal (daq::Bool requiresSignal) const |
| Sets requires signal flag of the input port. More...
|
|
daq::Bool | getGapCheckingEnabled () const |
| Returns the state of gap checking requested by the input port. More...
|
|
◆ getGapCheckingEnabled()
daq::Bool getGapCheckingEnabled |
( |
| ) |
const |
|
inline |
Returns the state of gap checking requested by the input port.
- Returns
- true if gap checking is requested by the input port.
◆ notifyPacketEnqueued()
void notifyPacketEnqueued |
( |
daq::Bool |
queueWasEmpty | ) |
const |
|
inline |
Gets called when a packet was enqueued in a connection.
- Parameters
-
queueWasEmpty | True if queue was empty before packet was enqueued. |
◆ notifyPacketEnqueuedOnThisThread()
void notifyPacketEnqueuedOnThisThread |
( |
| ) |
const |
|
inline |
Gets called when a packet was enqueued in a connection.
The notification is called on the same thread that enqueued the packet.
◆ setRequiresSignal()
void setRequiresSignal |
( |
daq::Bool |
requiresSignal | ) |
const |
|
inline |
Sets requires signal flag of the input port.
- Parameters
-
requiresSignal | True if the input port requires a signal to be connected; false otherwise. |
If an input port requires a signal, then the input port must have a signal connected otherwise the owner of the input port (function block) should report an error.