ImFusion SDK 4.3
OutputConnection Class Referenceabstract

#include <ImFusion/Stream/OutputConnection.h>

Interface for connections to other devices for sending streams, volumes, and other information through network, USB port or other connection types. More...

+ Inheritance diagram for OutputConnection:

Detailed Description

Interface for connections to other devices for sending streams, volumes, and other information through network, USB port or other connection types.

Public Member Functions

virtual void openConnection ()=0
 Establishes the connection to an external device or software.
 
virtual void closeConnection ()=0
 Closes the connection.
 
virtual bool isConnected () const =0
 Returns true if the connection is ready.
 
virtual void sendData (const Data &)
 Sends a Data through this connection.
 
virtual void sendStreamData (const StreamData &)
 Sends a StreamData through this connection.
 
virtual bool isCompatible (Data::Kind kind) const =0
 Returns true if this connection is able to send data type of kind.
 

Member Function Documentation

◆ openConnection()

virtual void openConnection ( )
pure virtual

Establishes the connection to an external device or software.

Implemented in Connection.

◆ closeConnection()

virtual void closeConnection ( )
pure virtual

Closes the connection.

Implemented in Connection.

◆ isConnected()

virtual bool isConnected ( ) const
pure virtual

Returns true if the connection is ready.

Implemented in Connection.

◆ isCompatible()

virtual bool isCompatible ( Data::Kind kind) const
pure virtual

Returns true if this connection is able to send data type of kind.

Implemented in Connection.


The documentation for this class was generated from the following file:
Search Tab / S to search, Esc to close