Fraxinus  22.04
An IGT application
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 
25 {
26  mPackage = package;
27  emit newPackage();
28 }
29 
31 {
32  return mPackage;
33 }
34 
35 } /* namespace cxtest */
cx::PackagePtr getSentPackage()
virtual bool isReady() const
boost::shared_ptr< struct Package > PackagePtr
virtual void send(cx::PackagePtr package)