ImFusion C++ SDK 4.4.0
ImFusion::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 ImFusion::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 ImFusion::OutputConnection::openConnection ( )
pure virtual

Establishes the connection to an external device or software.

Implemented in ImFusion::IGTL::Connection.

◆ closeConnection()

virtual void ImFusion::OutputConnection::closeConnection ( )
pure virtual

Closes the connection.

Implemented in ImFusion::IGTL::Connection.

◆ isConnected()

virtual bool ImFusion::OutputConnection::isConnected ( ) const
pure virtual

Returns true if the connection is ready.

Implemented in ImFusion::IGTL::Connection.

◆ isCompatible()

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

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

Implemented in ImFusion::IGTL::Connection.


The documentation for this class was generated from the following file:
  • ImFusion/Stream/OutputConnection.h
Search Tab / S to search, Esc to close