PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
List of all members | Public Member Functions | Public Attributes | Protected Attributes
TelemedUltrasound Class Reference

#include <src/PlusDataCollection/Telemed/TelemedUltrasound.h>

Inheritance diagram for TelemedUltrasound:
Inheritance graph
[legend]
Collaboration diagram for TelemedUltrasound:
Collaboration graph
[legend]

Public Member Functions

unsigned char * CaptureFrame ()
 
PlusStatus Connect (int probeId=0)
 
void CreateUsgControls (int probeId=0)
 
void Disconnect ()
 
void FreezeDevice (bool freeze)
 
unsigned long GetBufferSize ()
 
PlusStatus GetDepthMm (double &depthMm)
 
PlusStatus GetDynRangeDb (double &dynRangeDb)
 
PlusStatus GetFocusDepthPercent (double &focusDepthPercent)
 
void GetFrameSize (FrameSizeType &frameSize)
 
PlusStatus GetFrequencyMhz (double &freqMHz)
 
PlusStatus GetGainPercent (double &gainPercent)
 
virtual HRESULT STDMETHODCALLTYPE GetIDsOfNames (const IID &riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgdispid)
 
PlusStatus GetPowerDb (double &powerDb)
 
virtual HRESULT STDMETHODCALLTYPE GetTypeInfo (UINT itinfo, LCID lcid, ITypeInfo **pptinfo)
 
virtual HRESULT STDMETHODCALLTYPE GetTypeInfoCount (UINT *pctinfo)
 
virtual HRESULT STDMETHODCALLTYPE Invoke (DISPID dispIdMember, const IID &riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
 
virtual HRESULT STDMETHODCALLTYPE OnBeamformerArrive (IUnknown *pUsgBeamformer, ULONG *reserved)
 
virtual HRESULT STDMETHODCALLTYPE OnBeamformerRemove (IUnknown *pUsgBeamformer, ULONG *reserved)
 
virtual HRESULT STDMETHODCALLTYPE OnBeamformerStateChanged (IUnknown *pUsgBeamformer, ULONG *reserved)
 
virtual HRESULT STDMETHODCALLTYPE OnControlChanged (REFIID riidCtrl, ULONG scanMode, LONG streamId, IUsgControl *pControlObj, LONG dispId, LONG flags)
 
virtual HRESULT STDMETHODCALLTYPE OnControlChangedBSTR (BSTR ctrlGUID, LONG scanMode, LONG streamId, IUsgControl *pControlObject, LONG dispId, LONG flags)
 
virtual HRESULT STDMETHODCALLTYPE OnProbeArrive (IUnknown *pUsgProbe, ULONG *reserved)
 
virtual HRESULT STDMETHODCALLTYPE OnProbeRemove (IUnknown *pUsgProbe, ULONG *reserved)
 
virtual HRESULT STDMETHODCALLTYPE OnProbeStateChanged (IUnknown *pUsgProbe, ULONG *reserved)
 
STDMETHODIMP QueryInterface (REFIID riid, void **ppv)
 
PlusStatus SetDepthMm (double depthMm)
 
PlusStatus SetDynRangeDb (double dynRangeDb)
 
PlusStatus SetFocusDepthPercent (double focusDepthPercent)
 
PlusStatus SetFrequencyMhz (double freqMHz)
 
PlusStatus SetGainPercent (double gainPercent)
 
void SetMaximumFrameSize (const FrameSizeType &maxFrameSize)
 
PlusStatus SetPowerDb (double powerDb)
 
 STDMETHODIMP_ (ULONG) AddRef()
 
 STDMETHODIMP_ (ULONG) Release()
 
 TelemedUltrasound ()
 
virtual ~TelemedUltrasound ()
 

Public Attributes

ULONG m_refCount
 

Protected Attributes

std::vector< unsigned char > m_FrameBuffer
 
FrameSizeType m_FrameSize
 
FrameSizeType m_MaximumFrameSize
 

Detailed Description

Definition at line 16 of file TelemedUltrasound.h.

Constructor & Destructor Documentation

◆ TelemedUltrasound()

TelemedUltrasound::TelemedUltrasound ( )

Definition at line 18 of file TelemedUltrasound.cxx.

◆ ~TelemedUltrasound()

TelemedUltrasound::~TelemedUltrasound ( )
virtual

Definition at line 50 of file TelemedUltrasound.cxx.

Member Function Documentation

◆ CaptureFrame()

unsigned char * TelemedUltrasound::CaptureFrame ( )

Definition at line 251 of file TelemedUltrasound.cxx.

◆ Connect()

PlusStatus TelemedUltrasound::Connect ( int  probeId = 0)

Definition at line 70 of file TelemedUltrasound.cxx.

◆ CreateUsgControls()

void TelemedUltrasound::CreateUsgControls ( int  probeId = 0)

Definition at line 345 of file TelemedUltrasound.cxx.

◆ Disconnect()

void TelemedUltrasound::Disconnect ( )

Definition at line 121 of file TelemedUltrasound.cxx.

◆ FreezeDevice()

void TelemedUltrasound::FreezeDevice ( bool  freeze)

Definition at line 135 of file TelemedUltrasound.cxx.

◆ GetBufferSize()

unsigned long TelemedUltrasound::GetBufferSize ( )
inline

Definition at line 27 of file TelemedUltrasound.h.

◆ GetDepthMm()

PlusStatus TelemedUltrasound::GetDepthMm ( double &  depthMm)

Definition at line 953 of file TelemedUltrasound.cxx.

◆ GetDynRangeDb()

PlusStatus TelemedUltrasound::GetDynRangeDb ( double &  dynRangeDb)

Definition at line 1238 of file TelemedUltrasound.cxx.

◆ GetFocusDepthPercent()

PlusStatus TelemedUltrasound::GetFocusDepthPercent ( double &  focusDepthPercent)

Definition at line 1189 of file TelemedUltrasound.cxx.

◆ GetFrameSize()

void TelemedUltrasound::GetFrameSize ( FrameSizeType &  frameSize)
inline

Definition at line 28 of file TelemedUltrasound.h.

◆ GetFrequencyMhz()

PlusStatus TelemedUltrasound::GetFrequencyMhz ( double &  freqMHz)

Definition at line 995 of file TelemedUltrasound.cxx.

◆ GetGainPercent()

PlusStatus TelemedUltrasound::GetGainPercent ( double &  gainPercent)

Definition at line 1104 of file TelemedUltrasound.cxx.

◆ GetIDsOfNames()

HRESULT TelemedUltrasound::GetIDsOfNames ( const IID riid,
LPOLESTR *  rgszNames,
UINT  cNames,
LCID  lcid,
DISPID *  rgdispid 
)
virtual

Definition at line 811 of file TelemedUltrasound.cxx.

◆ GetPowerDb()

PlusStatus TelemedUltrasound::GetPowerDb ( double &  powerDb)

Definition at line 1140 of file TelemedUltrasound.cxx.

◆ GetTypeInfo()

HRESULT TelemedUltrasound::GetTypeInfo ( UINT  itinfo,
LCID  lcid,
ITypeInfo **  pptinfo 
)
virtual

Definition at line 796 of file TelemedUltrasound.cxx.

◆ GetTypeInfoCount()

HRESULT TelemedUltrasound::GetTypeInfoCount ( UINT *  pctinfo)
virtual

Definition at line 785 of file TelemedUltrasound.cxx.

◆ Invoke()

HRESULT TelemedUltrasound::Invoke ( DISPID  dispIdMember,
const IID riid,
LCID  lcid,
WORD  wFlags,
DISPPARAMS *  pDispParams,
VARIANT *  pVarResult,
EXCEPINFO *  pExcepInfo,
UINT *  puArgErr 
)
virtual

Definition at line 818 of file TelemedUltrasound.cxx.

◆ OnBeamformerArrive()

HRESULT TelemedUltrasound::OnBeamformerArrive ( IUnknown *  pUsgBeamformer,
ULONG reserved 
)
virtual

Definition at line 1301 of file TelemedUltrasound.cxx.

◆ OnBeamformerRemove()

HRESULT TelemedUltrasound::OnBeamformerRemove ( IUnknown *  pUsgBeamformer,
ULONG reserved 
)
virtual

Definition at line 1291 of file TelemedUltrasound.cxx.

◆ OnBeamformerStateChanged()

HRESULT TelemedUltrasound::OnBeamformerStateChanged ( IUnknown *  pUsgBeamformer,
ULONG reserved 
)
virtual

Definition at line 1318 of file TelemedUltrasound.cxx.

◆ OnControlChanged()

HRESULT TelemedUltrasound::OnControlChanged ( REFIID  riidCtrl,
ULONG  scanMode,
LONG  streamId,
IUsgControl pControlObj,
LONG  dispId,
LONG  flags 
)
virtual

Definition at line 600 of file TelemedUltrasound.cxx.

◆ OnControlChangedBSTR()

HRESULT TelemedUltrasound::OnControlChangedBSTR ( BSTR  ctrlGUID,
LONG  scanMode,
LONG  streamId,
IUsgControl pControlObject,
LONG  dispId,
LONG  flags 
)
virtual

Definition at line 707 of file TelemedUltrasound.cxx.

◆ OnProbeArrive()

HRESULT TelemedUltrasound::OnProbeArrive ( IUnknown *  pUsgProbe,
ULONG reserved 
)
virtual

Definition at line 1267 of file TelemedUltrasound.cxx.

◆ OnProbeRemove()

HRESULT TelemedUltrasound::OnProbeRemove ( IUnknown *  pUsgProbe,
ULONG reserved 
)
virtual

Definition at line 1280 of file TelemedUltrasound.cxx.

◆ OnProbeStateChanged()

HRESULT TelemedUltrasound::OnProbeStateChanged ( IUnknown *  pUsgProbe,
ULONG reserved 
)
virtual

Definition at line 1311 of file TelemedUltrasound.cxx.

◆ QueryInterface()

STDMETHODIMP TelemedUltrasound::QueryInterface ( REFIID  riid,
void **  ppv 
)

Definition at line 758 of file TelemedUltrasound.cxx.

◆ SetDepthMm()

PlusStatus TelemedUltrasound::SetDepthMm ( double  depthMm)

Definition at line 971 of file TelemedUltrasound.cxx.

◆ SetDynRangeDb()

PlusStatus TelemedUltrasound::SetDynRangeDb ( double  dynRangeDb)

Definition at line 1220 of file TelemedUltrasound.cxx.

◆ SetFocusDepthPercent()

PlusStatus TelemedUltrasound::SetFocusDepthPercent ( double  focusDepthPercent)

Definition at line 1158 of file TelemedUltrasound.cxx.

◆ SetFrequencyMhz()

PlusStatus TelemedUltrasound::SetFrequencyMhz ( double  freqMHz)

Definition at line 1013 of file TelemedUltrasound.cxx.

◆ SetGainPercent()

PlusStatus TelemedUltrasound::SetGainPercent ( double  gainPercent)

Definition at line 1086 of file TelemedUltrasound.cxx.

◆ SetMaximumFrameSize()

void TelemedUltrasound::SetMaximumFrameSize ( const FrameSizeType &  maxFrameSize)

Must be called before connect to take effect

Definition at line 64 of file TelemedUltrasound.cxx.

◆ SetPowerDb()

PlusStatus TelemedUltrasound::SetPowerDb ( double  powerDb)

Definition at line 1122 of file TelemedUltrasound.cxx.

◆ STDMETHODIMP_() [1/2]

TelemedUltrasound::STDMETHODIMP_ ( ULONG  )

◆ STDMETHODIMP_() [2/2]

TelemedUltrasound::STDMETHODIMP_ ( ULONG  )

Member Data Documentation

◆ m_FrameBuffer

std::vector<unsigned char> TelemedUltrasound::m_FrameBuffer
protected

Definition at line 54 of file TelemedUltrasound.h.

◆ m_FrameSize

FrameSizeType TelemedUltrasound::m_FrameSize
protected

Definition at line 55 of file TelemedUltrasound.h.

◆ m_MaximumFrameSize

FrameSizeType TelemedUltrasound::m_MaximumFrameSize
protected

Definition at line 56 of file TelemedUltrasound.h.

◆ m_refCount

ULONG TelemedUltrasound::m_refCount

Definition at line 99 of file TelemedUltrasound.h.


The documentation for this class was generated from the following files: