NorMIT-nav
2023.01.05-dev+develop.0da12
An IGT application
cxSenderImpl.h
Go to the documentation of this file.
1
/*=========================================================================
2
This file is part of CustusX, an Image Guided Therapy Application.
3
4
Copyright (c) SINTEF Department of Medical Technology.
5
All rights reserved.
6
7
CustusX is released under a BSD 3-Clause license.
8
9
See Lisence.txt (https://github.com/SINTEFMedtek/CustusX/blob/master/License.txt) for details.
10
=========================================================================*/
11
12
#ifndef CXSenderImpl_H_
13
#define CXSenderImpl_H_
14
15
#include "cxGrabberExport.h"
16
17
#include "
cxSender.h
"
18
19
#include <QObject>
20
#include <boost/shared_ptr.hpp>
21
#include <qtcpsocket.h>
22
#include "
cxIGTLinkImageMessage.h
"
23
#include "
cxIGTLinkUSStatusMessage.h
"
24
#include "
cxImage.h
"
25
#include "
cxTool.h
"
26
27
namespace
cx
28
{
29
36
class
cxGrabber_EXPORT
SenderImpl
:
public
Sender
37
{
38
public
:
39
SenderImpl
() {}
40
virtual
~SenderImpl
() {}
41
45
virtual
bool
isReady()
const
= 0;
46
47
virtual
void
send(
PackagePtr
package);
48
49
protected
:
52
virtual
void
send(
ImagePtr
msg) = 0;
55
virtual
void
send(
ProbeDefinitionPtr
msg) = 0;
56
};
57
62
}
/* namespace cx */
63
#endif
/* CXSenderImpl_H_ */
cx::SenderImpl::SenderImpl
SenderImpl()
Definition:
cxSenderImpl.h:39
cxSender.h
cx
Namespace for all CustusX production code.
Definition:
cx_dev_group_definitions.h:13
cxImage.h
cx::ProbeDefinitionPtr
boost::shared_ptr< class ProbeDefinition > ProbeDefinitionPtr
Definition:
cxImageReceiverThread.h:32
cx::SenderImpl
Definition:
cxSenderImpl.h:36
cx::SenderImpl::~SenderImpl
virtual ~SenderImpl()
Definition:
cxSenderImpl.h:40
cxTool.h
cx::ImagePtr
boost::shared_ptr< class Image > ImagePtr
Definition:
cxDicomWidget.h:27
cx::PackagePtr
boost::shared_ptr< struct Package > PackagePtr
Definition:
cxMHDImageStreamer.h:27
cxIGTLinkImageMessage.h
cx::Sender
Definition:
cxSender.h:49
cxIGTLinkUSStatusMessage.h
CX
source
resource
videoServer
cxSenderImpl.h
Generated on Thu Jan 5 2023 03:15:55 for NorMIT-nav by
1.8.17