openDAQ
Open data acquisition platform
InputPortConfigPtr Class Reference

The configuration component of input ports. Provides access to Input port owners to internal components of the input port. More...

+ Inheritance diagram for InputPortConfigPtr:
+ Collaboration diagram for InputPortConfigPtr:

Detailed Description

The configuration component of input ports. Provides access to Input port owners to internal components of the input port.

Public Member Functions

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...
 
- Public Member Functions inherited from GenericInputPortPtr< IInputPortConfig >
daq::Bool acceptsSignal (const daq::SignalPtr &signal) const
 Returns true if the signal can be connected to the input port; false otherwise. More...
 
void connect (const daq::SignalPtr &signal) const
 Connects the signal to the input port, forming a Connection. More...
 
void disconnect () const
 Disconnects the signal from the input port.
 
daq::SignalPtr getSignal () const
 Gets the signal connected to the input port. More...
 
daq::Bool getRequiresSignal () const
 Returns true if the input port requires a signal to be connected; false otherwise. More...
 
daq::ConnectionPtr getConnection () const
 Gets the Connection object formed between the Signal and Input port. More...