Medical Imaging Interaction Toolkit
2023.04.00
Medical Imaging Interaction Toolkit
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
mitkNewMacro1Param
#define mitkNewMacro1Param(classname, type)
Definition:
mitkCommon.h:68
mitk::IGTLDevice
Interface for all OpenIGTLink Devices.
Definition:
mitkIGTLDevice.h:62
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
RenderingTests.dox:1
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition:
mitkCommon.h:36
mitk::IGTLClient
Superclass for OpenIGTLink clients.
Definition:
mitkIGTLClient.h:35
mitkIGTLDevice.h
src
MITK
Modules
OpenIGTLink
mitkIGTLClient.h
Generated on Wed May 17 2023 16:26:07 for Medical Imaging Interaction Toolkit by
1.8.17