Fraxinus
22.04-rc5
An IGT application
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
cxtestSender.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 CXTESTSENDER_H_
13
#define CXTESTSENDER_H_
14
15
#include "cxGrabberExport.h"
16
17
#include "
cxSender.h
"
18
#include <boost/shared_ptr.hpp>
19
20
namespace
cxtest
{
21
22
/*
23
* TestSender
24
*
25
* Simulates sending images.
26
* Can be used with a imagestreamer.
27
*
28
* \date May 13, 2013
29
* \author Janne Beate Bakeng, SINTEF
30
*/
31
class
cxGrabber_EXPORT
TestSender
:
public
cx::Sender
32
{
33
Q_OBJECT
34
public
:
35
TestSender
() {}
36
virtual
~TestSender
() {}
37
38
virtual
bool
isReady()
const
;
39
40
virtual
void
send(
cx::PackagePtr
package);
41
42
cx::PackagePtr
getSentPackage();
43
44
signals:
45
void
newPackage();
46
47
private
:
48
cx::PackagePtr
mPackage;
49
50
};
51
typedef
boost::shared_ptr<TestSender>
TestSenderPtr
;
52
53
}
/* namespace cxtest */
54
#endif
/* CXTESTSENDER_H_ */
cx::Sender
Definition:
cxSender.h:49
cxtest::TestSender::TestSender
TestSender()
Definition:
cxtestSender.h:35
cxtest::TestSender
Definition:
cxtestSender.h:31
cxtest
Definition:
cxtestDirectSignalListener.cpp:13
cxtest::TestSender::~TestSender
virtual ~TestSender()
Definition:
cxtestSender.h:36
cx::PackagePtr
boost::shared_ptr< struct Package > PackagePtr
Definition:
cxMHDImageStreamer.h:27
cxtest::TestSenderPtr
boost::shared_ptr< TestSender > TestSenderPtr
Definition:
cxtestSender.h:51
cxSender.h
CX
source
resource
videoServer
cxtestSender.h
Generated on Thu Jun 16 2022 19:01:35 for Fraxinus by
1.8.11