25 #ifndef WMOPENIGTLINK_H
26 #define WMOPENIGTLINK_H
33 #include "core/kernel/WModule.h"
34 #include "core/kernel/WModuleInputData.h"
35 #include "core/kernel/WModuleOutputData.h"
68 virtual const std::string
getName()
const;
82 virtual std::shared_ptr< WModule >
factory()
const;
117 std::shared_ptr < WModuleInputData < WDataSetScalar > >
m_input;
122 std::shared_ptr < WModuleOutputData < WDataSetScalar > >
m_output;
This module provides an interface to OpenIGTLink, a protocol to exchange data remotely over IP networ...
std::shared_ptr< WModuleInputData< WDataSetScalar > > m_input
input for data to send
WPropDouble m_xPos
x position of the slice
std::shared_ptr< WItemSelection > m_propServerOrClientSelections
whether we connect to the remote host or just listen
virtual void requirements()
Initialize requirements for this module.
virtual void moduleMain()
Entry point after loading the module.
WPropString m_hostname
hostname to connect to
virtual std::shared_ptr< WModule > factory() const
Due to the prototype design pattern used to build modules, this method returns a new instance of this...
WPropInt m_port
port to listen on or to connect to
virtual const char ** getXPMIcon() const
Get the icon for this module in XPM format.
virtual void connectors()
Initialize the connectors this module is using.
WPropDouble m_yPos
y position of the slice
WPropBool m_propCheckCRC
Check CRC.
virtual const std::string getDescription() const
Gives back a description of this module.
WPropSelection m_propServerOrClient
Pick whether to act as an TCPIP server or as an TCPIP client, i.e., whether to listen on a port for i...
std::shared_ptr< WCondition > m_propCondition
A condition used to notify about changes in several properties.
WPropDouble m_zPos
z position of the slice
WPropBool m_propActive
Activation status of the server.
virtual const std::string getName() const
Gives back the name of this module.
virtual void properties()
Initialize the properties for this module.
std::shared_ptr< WModuleOutputData< WDataSetScalar > > m_output
output of received data
Class representing a single module of OpenWalnut.