Fraxinus  2023.01.05-dev+develop.0da12
An IGT application
cx::GrabberSenderQTcpSocket Class Reference

#include <cxGrabberSenderQTcpSocket.h>

Inheritance diagram for cx::GrabberSenderQTcpSocket:
cx::SenderImpl cx::Sender

Public Member Functions

 GrabberSenderQTcpSocket (QTcpSocket *socket)
 
virtual ~GrabberSenderQTcpSocket ()
 
bool isReady () const
 
- Public Member Functions inherited from cx::SenderImpl
 SenderImpl ()
 
virtual ~SenderImpl ()
 
virtual void send (PackagePtr package)
 
- Public Member Functions inherited from cx::Sender
 Sender ()
 
virtual ~Sender ()
 

Protected Member Functions

virtual void send (igtl::ImageMessage::Pointer msg)
 
virtual void send (IGTLinkUSStatusMessage::Pointer msg)
 
virtual void send (ImagePtr msg)
 
virtual void send (ProbeDefinitionPtr msg)
 

Detailed Description

Definition at line 37 of file cxGrabberSenderQTcpSocket.h.

Constructor & Destructor Documentation

cx::GrabberSenderQTcpSocket::GrabberSenderQTcpSocket ( QTcpSocket *  socket)
explicit

Definition at line 20 of file cxGrabberSenderQTcpSocket.cpp.

virtual cx::GrabberSenderQTcpSocket::~GrabberSenderQTcpSocket ( )
inlinevirtual

Definition at line 41 of file cxGrabberSenderQTcpSocket.h.

Member Function Documentation

bool cx::GrabberSenderQTcpSocket::isReady ( ) const
virtual

Return if sender is ready to send another message. If !isReady(), calls to send() will fail.

Implements cx::SenderImpl.

Definition at line 26 of file cxGrabberSenderQTcpSocket.cpp.

void cx::GrabberSenderQTcpSocket::send ( igtl::ImageMessage::Pointer  msg)
protectedvirtual

Definition at line 35 of file cxGrabberSenderQTcpSocket.cpp.

void cx::GrabberSenderQTcpSocket::send ( IGTLinkUSStatusMessage::Pointer  msg)
protectedvirtual

Definition at line 45 of file cxGrabberSenderQTcpSocket.cpp.

void cx::GrabberSenderQTcpSocket::send ( ImagePtr  msg)
protectedvirtual

Send an image message

Implements cx::SenderImpl.

Definition at line 55 of file cxGrabberSenderQTcpSocket.cpp.

void cx::GrabberSenderQTcpSocket::send ( ProbeDefinitionPtr  msg)
protectedvirtual

Send an US status message

Implements cx::SenderImpl.

Definition at line 64 of file cxGrabberSenderQTcpSocket.cpp.


The documentation for this class was generated from the following files: