![]() |
ImFusion C++ SDK 4.4.0
|
#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...
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. | |
|
pure virtual |
Establishes the connection to an external device or software.
Implemented in ImFusion::IGTL::Connection.
|
pure virtual |
Closes the connection.
Implemented in ImFusion::IGTL::Connection.
|
pure virtual |
Returns true if the connection is ready.
Implemented in ImFusion::IGTL::Connection.
|
pure virtual |
Returns true if this connection is able to send data type of kind.
Implemented in ImFusion::IGTL::Connection.