Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  
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 
28 {
29 
30 public:
31 
33  typedef Object Superclass;
36 
39 
41  bool IsValid(igtl::MessageHeader::Pointer headerMsg);
42 
47  igtl::MessageBase::Pointer GetMessage(igtl::MessageHeader::Pointer headerMsg);
48 
49 protected:
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
#define igtlTypeMacro(thisClass, superclass)
Definition: igtlMacro.h:486
The "igtl" namespace contains all OpenIGTLink classes. There are several nested namespaces within the...
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
#define IGTLCommon_EXPORT
#define igtlNewMacro(x)
Definition: igtlMacro.h:431
Base class for most igtl classes.
Definition: igtlObject.h:60

Generated for OpenIGTLink by Doxygen 1.8.13 written by Dimitri van Heesch, © 1997-2012