Medical Imaging Interaction Toolkit  2018.4.99-389bf124
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 (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #include "mitkUSTelemedProbe.h"
14 #include "mitkUSTelemedSDKHeader.h"
15 
16 mitk::USTelemedProbe::USTelemedProbe(Usgfw2Lib::IProbe* probe, Usgfw2Lib::IUsgDataView* dataView)
17  : m_UsgProbe(probe), m_UsgDataView(dataView)
18 {
19  BSTR probeName;
20  probe->get_Name(&probeName);
22 }
23 
25 {
28 }
29 
31 {
32  return m_UsgProbe;
33 }
34 
35 Usgfw2Lib::IUsgDataView* mitk::USTelemedProbe::GetUsgDataView()
36 {
37  return m_UsgDataView;
38 }
Usgfw2Lib::IUsgDataView * GetUsgDataView()
virtual void SetName(std::string _arg)
Usgfw2Lib::IProbe * GetUsgProbe()
std::string ConvertWcharToString(const BSTR input)
Usgfw2Lib::IUsgDataView * m_UsgDataView
USTelemedProbe(Usgfw2Lib::IProbe *probe, Usgfw2Lib::IUsgDataView *dataView)
#define SAFE_RELEASE(x)
Usgfw2Lib::IProbe * m_UsgProbe