openDAQ
Open data acquisition platform
InputPortPrivatePtr Class Reference

Internal functions used by openDAQ core. This interface should never be used in client SDK or module code. More...

Inherits ObjectPtr< IInputPortPrivate >.

Detailed Description

Internal functions used by openDAQ core. This interface should never be used in client SDK or module code.

Public Member Functions

void disconnectWithoutSignalNotification () const
 Disconnects the signal without notification to the signal.
 
void connectSignalSchedulerNotification (const daq::SignalPtr &signal) const
 Connects the signal to the input port, forming a Connection. More...
 

Member Function Documentation

◆ connectSignalSchedulerNotification()

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

Connects the signal to the input port, forming a Connection.

Parameters
signalThe signal to be connected to the input port.

On connect, an event packet is enqueued in the connection. This method schedules the onPacketReceived notification instead of invoking it on the same thread.