CustusX
22.04-rc2
An IGT application
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
cxtestSender.cpp
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
#include "
cxtestSender.h
"
13
14
#include "
cxTypeConversions.h
"
15
16
namespace
cxtest
17
{
18
19
bool
TestSender::isReady
()
const
20
{
21
return
true
;
22
}
23
24
void
TestSender::send
(
cx::PackagePtr
package)
25
{
26
mPackage = package;
27
emit
newPackage
();
28
}
29
30
cx::PackagePtr
TestSender::getSentPackage
()
31
{
32
return
mPackage;
33
}
34
35
}
/* namespace cxtest */
cxtest::TestSender::getSentPackage
cx::PackagePtr getSentPackage()
Definition:
cxtestSender.cpp:30
cxTypeConversions.h
cxtest
Definition:
cxtestDirectSignalListener.cpp:13
cxtest::TestSender::newPackage
void newPackage()
cxtest::TestSender::isReady
virtual bool isReady() const
Definition:
cxtestSender.cpp:19
cx::PackagePtr
boost::shared_ptr< struct Package > PackagePtr
Definition:
cxMHDImageStreamer.h:27
cxtestSender.h
cxtest::TestSender::send
virtual void send(cx::PackagePtr package)
Definition:
cxtestSender.cpp:24
CX
source
resource
videoServer
cxtestSender.cpp
Generated on Fri May 27 2022 12:00:01 for CustusX by
1.8.11