Fraxinus  22.09
An IGT application
cxSenderImpl.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 "cxSenderImpl.h"
13 #include "cxIGTLinkConversion.h"
14 
15 namespace cx
16 {
17 
19 {
20  if(package->mImage)
21  this->send(package->mImage);
22 
23  if(package->mProbe)
24  this->send(package->mProbe);
25 }
26 
27 
28 } /* namespace cx */
virtual void send(PackagePtr package)
boost::shared_ptr< struct Package > PackagePtr
Namespace for all CustusX production code.