17 #ifndef IGTLMessageQueue_H
18 #define IGTLMessageQueue_H
20 #include "MitkOpenIGTLinkExports.h"
22 #include "itkObject.h"
23 #include "itkFastMutexLock.h"
29 #include "igtlMessageBase.h"
30 #include "igtlImageMessage.h"
31 #include "igtlStringMessage.h"
32 #include "igtlTrackingDataMessage.h"
33 #include "igtlTransformMessage.h"
46 itkFactorylessNewMacro(Self)
88 std::string GetNextMsgInformationString();
93 std::string GetNextMsgDeviceType();
99 std::string GetLatestMsgInformationString();
104 std::string GetLatestMsgDeviceType();
110 void EnableInfiniteBuffering(
bool enable);
itk::SmartPointer< Self > Pointer
itk::FastMutexLock::Pointer m_Mutex
Mutex to take car of the queue.
std::deque< igtl::MessageBase::Pointer > m_CommandQueue
the queue that stores pointer to the inserted messages
BufferingType m_BufferingType
defines the kind of buffering
std::deque< igtl::ImageMessage::Pointer > m_Image3dQueue
std::deque< igtl::MessageBase::Pointer > m_MiscQueue
DataCollection - Class to facilitate loading/accessing structured data.
std::deque< igtl::StringMessage::Pointer > m_StringQueue
Thread safe message queue to store OpenIGTLink messages.
std::deque< igtl::TransformMessage::Pointer > m_TransformQueue
igtl::MessageBase::Pointer m_Latest_Message
BufferingType
Different buffering types Infinit buffering means that you can push as many messages as you want NoBu...
#define mitkClassMacroItkParent(className, SuperClassName)
std::deque< igtl::MessageBase::Pointer > m_SendQueue
std::deque< igtl::ImageMessage::Pointer > m_Image2dQueue
std::deque< igtl::TrackingDataMessage::Pointer > m_TrackingDataQueue