15#ifndef __igtlSessionManager_h
16#define __igtlSessionManager_h
46 void SetHostname(
const char * str) {this->m_Hostname = str; this->m_ConfigurationUpdated =
true; }
47 const char *
GetHostname() {
return this->m_Hostname.c_str(); }
48 void SetPort(
int p) { this->m_Port = p; this->m_ConfigurationUpdated =
true; }
53 void SetMode(
int m) {this->m_Mode = m; this->m_ConfigurationUpdated =
true; }
Base class for most igtl classes.
SmartPointer< Self > Pointer
void SetHostname(const char *str)
igtlTypeMacro(SessionManager, Object) igtlNewMacro(SessionManager)
MessageHandler * m_CurrentMessageHandler
igtl::MessageHeader::Pointer m_Header
igtl::TimeStamp::Pointer m_TimeStamp
std::vector< MessageHandler * > m_MessageHandlerList
int AddMessageHandler(MessageHandler *)
const char * GetHostname()
bool m_ConfigurationUpdated
int PushMessage(MessageBase *)
SmartPointer< const Self > ConstPointer
int RemoveMessageHandler(MessageHandler *)
Implements transparent reference counting.
The "igtl" namespace contains all OpenIGTLink classes. There are several nested namespaces within the...