Main Page
Namespace List
Class Hierarchy
Alphabetical List
Compound List
File List
Namespace Members
Compound Members
File Members
Source
igtlMessageFactory.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: The OpenIGTLink Library
4
Language: C++
5
Web page: http://openigtlink.org/
6
7
Copyright (c) Insight Software Consortium. All rights reserved.
8
9
This software is distributed WITHOUT ANY WARRANTY; without even
10
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11
PURPOSE. See the above copyright notices for more information.
12
13
=========================================================================*/
14
#ifndef __igtlMessageFactory_h
15
#define __igtlMessageFactory_h
16
17
#include "
igtlObject.h
"
18
#include "
igtlMacro.h
"
19
#include "
igtlMessageBase.h
"
20
#include "
igtlMessageHeader.h
"
21
22
#include <set>
23
24
namespace
igtl
25
{
26
27
class
IGTLCommon_EXPORT
MessageFactory
:
public
Object
28
{
29
30
public
:
31
32
typedef
MessageFactory
Self
;
33
typedef
Object
Superclass
;
34
typedef
SmartPointer<Self>
Pointer
;
35
typedef
SmartPointer<const Self>
ConstPointer
;
36
37
igtlTypeMacro
(
MessageFactory
,
Object
)
38
igtlNewMacro
(
MessageFactory
);
39
41
bool
IsValid(igtl::MessageHeader::Pointer headerMsg);
42
47
igtl::MessageBase::Pointer
GetMessage(igtl::MessageHeader::Pointer headerMsg);
48
49
protected
:
50
MessageFactory
();
51
~
MessageFactory
();
52
53
private
:
54
55
std::set<std::string> m_DeviceTypes;
56
57
};
// end class
58
59
}
// end namespace
60
61
#endif // __igtlMessageFactory_h
igtlMessageBase.h
igtlMacro.h
igtlNewMacro
#define igtlNewMacro(x)
Definition:
igtlMacro.h:431
igtl::Object
Base class for most igtl classes.
Definition:
igtlObject.h:60
igtl::MessageFactory::Self
MessageFactory Self
Definition:
igtlMessageFactory.h:32
igtl::MessageFactory::Pointer
SmartPointer< Self > Pointer
Definition:
igtlMessageFactory.h:34
igtl
The "igtl" namespace contains all OpenIGTLink classes. There are several nested namespaces within the...
Definition:
igtlBindMessage.h:25
IGTLCommon_EXPORT
#define IGTLCommon_EXPORT
Definition:
igtlWin32Header.h:151
igtl::MessageFactory::ConstPointer
SmartPointer< const Self > ConstPointer
Definition:
igtlMessageFactory.h:35
igtl::MessageFactory::Superclass
Object Superclass
Definition:
igtlMessageFactory.h:33
igtl::SmartPointer< Self >
igtlTypeMacro
#define igtlTypeMacro(thisClass, superclass)
Definition:
igtlMacro.h:486
igtlObject.h
igtl::MessageFactory
Definition:
igtlMessageFactory.h:27
igtlMessageHeader.h
Generated for OpenIGTLink by
Doxygen
1.8.17 written by
Dimitri van Heesch
, © 1997-2012