Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkUSTelemedProbe.cpp
Go to the documentation of this file.
1 /*===================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #include "mitkUSTelemedProbe.h"
18 #include "mitkUSTelemedSDKHeader.h"
19 
20 mitk::USTelemedProbe::USTelemedProbe(Usgfw2Lib::IProbe* probe, Usgfw2Lib::IUsgDataView* dataView)
21  : m_UsgProbe(probe), m_UsgDataView(dataView)
22 {
23  BSTR probeName;
24  probe->get_Name(&probeName);
26 }
27 
29 {
30  SAFE_RELEASE(m_UsgProbe);
31  SAFE_RELEASE(m_UsgDataView);
32 }
33 
35 {
36  return m_UsgProbe;
37 }
38 
39 Usgfw2Lib::IUsgDataView* mitk::USTelemedProbe::GetUsgDataView()
40 {
41  return m_UsgDataView;
42 }
Usgfw2Lib::IUsgDataView * GetUsgDataView()
virtual void SetName(std::string _arg)
Usgfw2Lib::IProbe * GetUsgProbe()
std::string ConvertWcharToString(const BSTR input)
USTelemedProbe(Usgfw2Lib::IProbe *probe, Usgfw2Lib::IUsgDataView *dataView)
#define SAFE_RELEASE(x)