Medical Imaging Interaction Toolkit  2018.4.99-bd7b41ba
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 ()
 
 ~USDevicePersistence () override
 
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 32 of file mitkUSDevicePersistence.h.

Constructor & Destructor Documentation

◆ USDevicePersistence()

mitk::USDevicePersistence::USDevicePersistence ( )
protected

Definition at line 23 of file mitkUSDevicePersistence.cpp.

◆ ~USDevicePersistence()

mitk::USDevicePersistence::~USDevicePersistence ( )
inlineoverrideprotected

Member Function Documentation

◆ Clone()

Pointer mitk::USDevicePersistence::Clone ( ) const

◆ depthToInt()

int mitk::USDevicePersistence::depthToInt ( std::string  s)
protected

Definition at line 329 of file mitkUSDevicePersistence.cpp.

References mitkThrow.

Referenced by StringToUSProbe().

◆ mitkClassMacroItkParent()

mitk::USDevicePersistence::mitkClassMacroItkParent ( USDevicePersistence  ,
itk::Object   
)

◆ New()

static Pointer mitk::USDevicePersistence::New ( )
static

◆ RestoreLastDevices()

std::vector< mitk::USDevice::Pointer > mitk::USDevicePersistence::RestoreLastDevices ( )

Definition at line 55 of file mitkUSDevicePersistence.cpp.

References m_devices, MITK_ERROR, MITK_INFO, and StringToUSVideoDevice().

◆ spacingToDouble()

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

Definition at line 317 of file mitkUSDevicePersistence.cpp.

References mitkThrow.

Referenced by StringToUSProbe().

◆ split()

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

Definition at line 302 of file mitkUSDevicePersistence.cpp.

Referenced by StringToUSProbe(), and StringToUSVideoDevice().

◆ StoreCurrentDevices()

void mitk::USDevicePersistence::StoreCurrentDevices ( )

◆ StringToUSProbe()

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

◆ StringToUSVideoDevice()

mitk::USVideoDevice::Pointer mitk::USDevicePersistence::StringToUSVideoDevice ( QString  s)
protected

◆ USProbeToString()

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

Definition at line 141 of file mitkUSDevicePersistence.cpp.

Referenced by USVideoDeviceToString(), and ~USDevicePersistence().

◆ USVideoDeviceToString()

QString mitk::USDevicePersistence::USVideoDeviceToString ( mitk::USVideoDevice::Pointer  d)
protected

Member Data Documentation

◆ m_devices

QSettings mitk::USDevicePersistence::m_devices
protected

Definition at line 53 of file mitkUSDevicePersistence.h.

Referenced by RestoreLastDevices(), and StoreCurrentDevices().


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