7 #ifndef __vtkPlusIGTLMessageQueue_h 8 #define __vtkPlusIGTLMessageQueue_h 10 #include "vtkPlusOpenIGTLinkExport.h" 12 #include "vtkObject.h" 16 #include "igtlMessageBase.h" 18 class vtkIGSIORecursiveCriticalSection;
27 typedef std::deque<igtl::MessageBase*> MessageBuffer;
32 virtual void PrintSelf(ostream& os, vtkIndent indent)
VTK_OVERRIDE;
34 void PushMessage( igtl::MessageBase*
message );
35 igtl::MessageBase* PullMessage();
46 vtkIGSIORecursiveCriticalSection*
Mutex;
vtkIGSIORecursiveCriticalSection * Mutex
Message queue to store OpenIGTLink messages.