CustusX  2023.01.05-dev+develop.0da12
An IGT application
cxOpenIGTLinkGuiExtenderService.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 
13 #ifndef CXOPENIGTLINKGUIEXTENDERSERVICE_H
14 #define CXOPENIGTLINKGUIEXTENDERSERVICE_H
15 
16 #include "org_custusx_core_openigtlink3_Export.h"
17 #include "cxGUIExtenderService.h"
18 class ctkPluginContext;
19 
20 #include "igtlioLogic.h"
21 
22 namespace cx
23 {
24 /*
25 typedef boost::shared_ptr<class NetworkServiceImpl> NetworkServiceImplPtr;
26 typedef boost::shared_ptr<class NetworkConnectionHandle> NetworkConnectionHandlePtr;
27 typedef boost::shared_ptr<class NetworkDataTransfer> NetworkDataTransferPtr;
28 class NetworkConnection;
29 */
30 
31 class org_custusx_core_openigtlink3_EXPORT OpenIGTLink3GuiExtenderService : public GUIExtenderService
32 {
33 public:
34  OpenIGTLink3GuiExtenderService(ctkPluginContext* context, igtlioLogicPointer logic);
36 
37  std::vector<CategorizedWidget> createWidgets() const;
38 private:
39  //mutable GUIExtenderService::CategorizedWidget mWidget;
40  //NetworkServiceImplPtr mConnections;
41 // NetworkConnectionHandlePtr mClient;
42  ctkPluginContext* mContext;
43  //NetworkDataTransferPtr mDataTransfer;
44  igtlioLogicPointer mLogic;
45 };
46 typedef boost::shared_ptr<OpenIGTLink3GuiExtenderService> OpenIGTLink3GuiExtenderServicePtr;
47 
48 }
49 #endif //CXOPENIGTLINKGUIEXTENDERSERVICE_H
boost::shared_ptr< OpenIGTLink3GuiExtenderService > OpenIGTLink3GuiExtenderServicePtr
Namespace for all CustusX production code.