MITK-IGT
IGT Extension of MITK
Loading...
Searching...
No Matches
mitkIGTLClient.h
Go to the documentation of this file.
1
/*============================================================================
2
3
The Medical Imaging Interaction Toolkit (MITK)
4
5
Copyright (c) German Cancer Research Center (DKFZ)
6
All rights reserved.
7
8
Use of this source code is governed by a 3-clause BSD license that can be
9
found in the LICENSE file.
10
11
============================================================================*/
12
13
14
#ifndef mitkIGTLClient_h
15
#define mitkIGTLClient_h
16
17
#include "
mitkIGTLDevice.h
"
18
19
#include <MitkOpenIGTLinkExports.h>
20
21
22
namespace
mitk
23
{
24
35
class
MITKOPENIGTLINK_EXPORT
IGTLClient
:
public
IGTLDevice
36
{
37
public
:
38
mitkClassMacro
(
IGTLClient
,
IGTLDevice
);
39
mitkNewMacro1Param
(Self,
bool
);
40
itkCloneMacro
(Self);
41
48
bool
OpenConnection()
override
;
49
56
unsigned
int
GetNumberOfConnections()
override
;
57
58
protected
:
60
IGTLClient
(
bool
ReadFully);
62
~IGTLClient
()
override
;
63
70
void
Receive()
override
;
71
77
void
Send()
override
;
78
86
void
StopCommunicationWithSocket(igtl::Socket*)
override
;
87
};
88
}
// namespace mitk
89
#endif
mitk::IGTLClient
Superclass for OpenIGTLink clients.
Definition
mitkIGTLClient.h:36
mitk::IGTLClient::mitkNewMacro1Param
mitkNewMacro1Param(Self, bool)
mitk::IGTLClient::mitkClassMacro
mitkClassMacro(IGTLClient, IGTLDevice)
mitk::IGTLClient::itkCloneMacro
itkCloneMacro(Self)
mitk::IGTLDevice
Interface for all OpenIGTLink Devices.
Definition
mitkIGTLDevice.h:63
mitkIGTLDevice.h
mitk
IGT Exceptions.
Definition
mitkAlgorithm.h:16
Modules
OpenIGTLink
mitkIGTLClient.h
Generated by
1.12.0