Main Page
Namespace List
Class Hierarchy
Alphabetical List
Compound List
File List
Namespace Members
Compound Members
File Members
Go to the documentation of this file.
14 #ifndef __igtlCapabilityMessage_h
15 #define __igtlCapabilityMessage_h
44 virtual int PackBody() { AllocatePack();
return 1; };
65 void SetTypes(std::vector<std::string> types);
66 int SetType(
int id,
const char* name);
67 const char* GetType(
int id);
72 std::vector<std::string>
GetTypes() {
return m_TypeNames; }
80 virtual int GetBodyPackSize();
81 virtual int PackBody();
82 virtual int UnpackBody();
91 #endif // __igtlCapabilityMessage_h
SmartPointer< const Self > ConstPointer
virtual int UnpackBody()
Unpacks (deserialize) the body. Must be implemented in a child class.
std::vector< std::string > m_TypeNames
virtual int PackBody()
Packs (serialize) the body. Must be implemented in a child class.
The "igtl" namespace contains all OpenIGTLink classes. There are several nested namespaces within the...
std::vector< std::string > GetTypes()
virtual int GetBodyPackSize()
Gets the size of the serialized body.
SmartPointer< const Self > ConstPointer
GetCapabilityMessage Self
SmartPointer< Self > Pointer
void SetNumberOfTypes(int n)
#define igtlTypeMacro(thisClass, superclass)
SmartPointer< Self > Pointer
Generated for OpenIGTLink by
Doxygen
1.8.17 written by Dimitri van Heesch,
© 1997-2012