Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::USDevicePersistence Class Reference

#include <mitkUSDevicePersistence.h>

Inheritance diagram for mitk::USDevicePersistence:
Collaboration diagram for mitk::USDevicePersistence:

Public Member Functions

 mitkClassMacroItkParent (USDevicePersistence, itk::Object)
 
Pointer Clone () const
 
void StoreCurrentDevices ()
 
std::vector< mitk::USDevice::PointerRestoreLastDevices ()
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 USDevicePersistence ()
 
virtual ~USDevicePersistence ()
 
QString USVideoDeviceToString (mitk::USVideoDevice::Pointer d)
 
mitk::USVideoDevice::Pointer StringToUSVideoDevice (QString s)
 
QString USProbeToString (mitk::USProbe::Pointer p)
 
mitk::USProbe::Pointer StringToUSProbe (std::string s)
 
void split (std::string &text, std::string &separators, std::vector< std::string > &words)
 
double spacingToDouble (std::string s)
 
int depthToInt (std::string s)
 

Protected Attributes

QSettings m_devices
 

Detailed Description

Documentation TODO

Definition at line 36 of file mitkUSDevicePersistence.h.

Constructor & Destructor Documentation

mitk::USDevicePersistence::USDevicePersistence ( )
protected

Definition at line 27 of file mitkUSDevicePersistence.cpp.

virtual mitk::USDevicePersistence::~USDevicePersistence ( )
inlineprotectedvirtual

Definition at line 50 of file mitkUSDevicePersistence.h.

Member Function Documentation

Pointer mitk::USDevicePersistence::Clone ( ) const
int mitk::USDevicePersistence::depthToInt ( std::string  s)
protected

Definition at line 323 of file mitkUSDevicePersistence.cpp.

References mitkThrow.

mitk::USDevicePersistence::mitkClassMacroItkParent ( USDevicePersistence  ,
itk::Object   
)
static Pointer mitk::USDevicePersistence::New ( )
static
std::vector< mitk::USDevice::Pointer > mitk::USDevicePersistence::RestoreLastDevices ( )

Definition at line 59 of file mitkUSDevicePersistence.cpp.

References MITK_ERROR, and MITK_INFO.

double mitk::USDevicePersistence::spacingToDouble ( std::string  s)
protected

Definition at line 311 of file mitkUSDevicePersistence.cpp.

References mitkThrow.

void mitk::USDevicePersistence::split ( std::string &  text,
std::string &  separators,
std::vector< std::string > &  words 
)
protected

Definition at line 296 of file mitkUSDevicePersistence.cpp.

void mitk::USDevicePersistence::StoreCurrentDevices ( )

Definition at line 31 of file mitkUSDevicePersistence.cpp.

References us::GetModuleContext(), MITK_INFO, and MITK_WARN.

mitk::USProbe::Pointer mitk::USDevicePersistence::StringToUSProbe ( std::string  s)
protected

Definition at line 241 of file mitkUSDevicePersistence.cpp.

References MITK_ERROR, mitk::USProbe::New(), and split().

QString mitk::USDevicePersistence::USProbeToString ( mitk::USProbe::Pointer  p)
protected

Definition at line 151 of file mitkUSDevicePersistence.cpp.

Member Data Documentation

QSettings mitk::USDevicePersistence::m_devices
protected

Definition at line 57 of file mitkUSDevicePersistence.h.


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