Thread safe message queue to store OpenIGTLink messages.
More...
#include <mitkIGTLMessageQueue.h>
|
enum | BufferingType { Infinit,
NoBuffering
} |
| Different buffering types Infinit buffering means that you can push as many messages as you want NoBuffering means that the queue just stores a single message. More...
|
|
Thread safe message queue to store OpenIGTLink messages.
Definition at line 39 of file mitkIGTLMessageQueue.h.
◆ BufferingType
Different buffering types Infinit buffering means that you can push as many messages as you want NoBuffering means that the queue just stores a single message.
Enumerator |
---|
Infinit | |
NoBuffering | |
Definition at line 51 of file mitkIGTLMessageQueue.h.
◆ IGTLMessageQueue()
mitk::IGTLMessageQueue::IGTLMessageQueue |
( |
| ) |
|
|
protected |
◆ ~IGTLMessageQueue()
mitk::IGTLMessageQueue::~IGTLMessageQueue |
( |
| ) |
|
|
overrideprotected |
◆ Clone()
Pointer mitk::IGTLMessageQueue::Clone |
( |
| ) |
const |
◆ EnableNoBufferingMode()
void mitk::IGTLMessageQueue::EnableNoBufferingMode |
( |
bool |
enable | ) |
|
◆ GetLatestMsgDeviceType()
std::string mitk::IGTLMessageQueue::GetLatestMsgDeviceType |
( |
| ) |
|
Returns the device type of the oldest message in the queue.
◆ GetLatestMsgInformationString()
std::string mitk::IGTLMessageQueue::GetLatestMsgInformationString |
( |
| ) |
|
Returns a string with information about the oldest message in the queue.
◆ GetNextMsgDeviceType()
std::string mitk::IGTLMessageQueue::GetNextMsgDeviceType |
( |
| ) |
|
Returns the device type of the oldest message in the queue.
◆ GetNextMsgInformationString()
std::string mitk::IGTLMessageQueue::GetNextMsgInformationString |
( |
| ) |
|
Returns a string with information about the oldest message in the queue.
◆ GetSize()
int mitk::IGTLMessageQueue::GetSize |
( |
| ) |
|
Get the number of messages in the queue.
◆ mitkClassMacroItkParent()
◆ New()
static Pointer mitk::IGTLMessageQueue::New |
( |
| ) |
|
|
static |
◆ PullCommandMessage()
igtl::MessageBase::Pointer mitk::IGTLMessageQueue::PullCommandMessage |
( |
| ) |
|
◆ PullImage2dMessage()
igtl::ImageMessage::Pointer mitk::IGTLMessageQueue::PullImage2dMessage |
( |
| ) |
|
◆ PullImage3dMessage()
igtl::ImageMessage::Pointer mitk::IGTLMessageQueue::PullImage3dMessage |
( |
| ) |
|
◆ PullMiscMessage()
igtl::MessageBase::Pointer mitk::IGTLMessageQueue::PullMiscMessage |
( |
| ) |
|
Returns and removes the oldest message from the queue.
◆ PullSendMessage()
mitk::IGTLMessage::Pointer mitk::IGTLMessageQueue::PullSendMessage |
( |
| ) |
|
◆ PullStringMessage()
igtl::StringMessage::Pointer mitk::IGTLMessageQueue::PullStringMessage |
( |
| ) |
|
◆ PullTrackingMessage()
igtl::TrackingDataMessage::Pointer mitk::IGTLMessageQueue::PullTrackingMessage |
( |
| ) |
|
◆ PullTransformMessage()
igtl::TransformMessage::Pointer mitk::IGTLMessageQueue::PullTransformMessage |
( |
| ) |
|
◆ PushCommandMessage()
void mitk::IGTLMessageQueue::PushCommandMessage |
( |
igtl::MessageBase::Pointer |
message | ) |
|
Adds the message to the queue.
◆ PushMessage()
void mitk::IGTLMessageQueue::PushMessage |
( |
igtl::MessageBase::Pointer |
message | ) |
|
Adds the message to the queue.
◆ PushSendMessage()
void mitk::IGTLMessageQueue::PushSendMessage |
( |
mitk::IGTLMessage::Pointer |
message | ) |
|
◆ m_BufferingType
◆ m_CommandQueue
std::deque< igtl::MessageBase::Pointer > mitk::IGTLMessageQueue::m_CommandQueue |
|
protected |
◆ m_Image2dQueue
std::deque< igtl::ImageMessage::Pointer > mitk::IGTLMessageQueue::m_Image2dQueue |
|
protected |
◆ m_Image3dQueue
std::deque< igtl::ImageMessage::Pointer > mitk::IGTLMessageQueue::m_Image3dQueue |
|
protected |
◆ m_Latest_Message
igtl::MessageBase::Pointer mitk::IGTLMessageQueue::m_Latest_Message |
|
protected |
◆ m_MiscQueue
std::deque< igtl::MessageBase::Pointer > mitk::IGTLMessageQueue::m_MiscQueue |
|
protected |
◆ m_Mutex
std::mutex mitk::IGTLMessageQueue::m_Mutex |
|
protected |
◆ m_SendQueue
std::deque< mitk::IGTLMessage::Pointer > mitk::IGTLMessageQueue::m_SendQueue |
|
protected |
◆ m_StringQueue
std::deque< igtl::StringMessage::Pointer > mitk::IGTLMessageQueue::m_StringQueue |
|
protected |
◆ m_TrackingDataQueue
std::deque< igtl::TrackingDataMessage::Pointer > mitk::IGTLMessageQueue::m_TrackingDataQueue |
|
protected |
◆ m_TransformQueue
std::deque< igtl::TransformMessage::Pointer > mitk::IGTLMessageQueue::m_TransformQueue |
|
protected |
The documentation for this class was generated from the following file: