TwiceAsNice  2019-02-18
Public Member Functions | Private Attributes | List of all members
QSI_Registry Class Reference

#include <QSI_Registry.h>

Collaboration diagram for QSI_Registry:
Collaboration graph

Public Member Functions

 QSI_Registry (void)
 
 ~QSI_Registry (void)
 
void AddIPAddress (std::string IPAddr)
 
void GetIPAdressList (std::vector< std::string > *vIPAddresses)
 
void SetSelectedInterface (int iInterface, bool bIsMainCamera)
 
int GetSelectedInterface (bool bIsMainCamera, int iDefaultInterface)
 
void SetIPv4Address (int iIPv4Addr, bool bIsMainCamera)
 
int GetIPv4Addresss (bool bIsMainCamera, int iDefaultAddress)
 
bool RecordExists (std::string strSerialNumber, bool bIsMainCamera)
 
void SetSelectedFilterWheel (std::string strSerialNumber, bool bIsMainCamera, std::string strFilterName)
 
std::string GetSelectedFilterWheel (std::string strSerialNumber, bool bIsMainCamera)
 
void SetSelectedCamera (std::string strSerialNumber, bool bIsMainCamera)
 
std::string GetSelectedCamera (bool bIsMainCamera)
 
void SetAdvancedSetupSettings (std::string strSerialNumber, bool bIsMainCamera, QSI_AdvSettings AdvSettings)
 
QSI_AdvSettings GetAdvancedSetupSettings (std::string strSerialNumber, bool bIsMainCamera, QSI_AdvSettings DefaultSettings)
 
int GetMaxPixelsPerBlock (int iDefaultValue)
 
int GetUSBInSize (int iDefaultValue)
 
int GetUSBOutSize (int iDefaultValue)
 
int GetUSBReadTimeout (int iDefaultValue)
 
int GetUSBWriteTimeout (int iDefaultValue)
 
int GetUSBExReadTimeout (int iDefaultValue)
 
int GetUSBExWriteTimeout (int iDefaultValue)
 
bool KeyExists (std::string strKeyPath)
 
void SetBoolean (std::string strKeyPath, std::string strSubKeyName, bool bValue)
 
void SetString (std::string strKeyPath, std::string strSubKeyName, std::string strValue)
 
void SetNumber (std::string strKeyPath, std::string strSubKeyName, int iValue)
 
int GetNumber (std::string strKeyPath, std::string strSubKeyName, int iDefaultValue)
 
bool GetInt (std::string strKeyPath, std::string strSubKeyName, int iDefaultValue, int &iRetVal)
 
int RegQueryValueEx (std::string strKeyPath, std::string strSubKeyName, int n0, int n1, int *piData, int dSize)
 
int RegDelnode (std::string Root)
 
int RegDelKey (std::string Section, std::string Key)
 
int GetAllKeys (std::string strKeyPath, std::vector< std::string > *vKeys)
 
std::string GetString (std::string strKeyPath, std::string strSubKeyName, std::string strDefaultValue)
 
bool GetBoolean (std::string strKeyPath, std::string strSubKeyName, bool bDefaultValue)
 

Private Attributes

int m_iError
 
CSimpleIniCaseA m_ini
 
SI_Error m_rc
 
char m_szPath [MAX_PATH+1]
 

Constructor & Destructor Documentation

◆ QSI_Registry()

QSI_Registry::QSI_Registry ( void  )
inline

◆ ~QSI_Registry()

QSI_Registry::~QSI_Registry ( void  )
inline

Member Function Documentation

◆ AddIPAddress()

void QSI_Registry::AddIPAddress ( std::string  IPAddr)
inline

◆ GetAdvancedSetupSettings()

QSI_AdvSettings QSI_Registry::GetAdvancedSetupSettings ( std::string  strSerialNumber,
bool  bIsMainCamera,
QSI_AdvSettings  DefaultSettings 
)
inline

◆ GetAllKeys()

int QSI_Registry::GetAllKeys ( std::string  strKeyPath,
std::vector< std::string > *  vKeys 
)
inline

◆ GetBoolean()

bool QSI_Registry::GetBoolean ( std::string  strKeyPath,
std::string  strSubKeyName,
bool  bDefaultValue 
)
inline

◆ GetInt()

bool QSI_Registry::GetInt ( std::string  strKeyPath,
std::string  strSubKeyName,
int  iDefaultValue,
int &  iRetVal 
)
inline

◆ GetIPAdressList()

void QSI_Registry::GetIPAdressList ( std::vector< std::string > *  vIPAddresses)
inline

◆ GetIPv4Addresss()

int QSI_Registry::GetIPv4Addresss ( bool  bIsMainCamera,
int  iDefaultAddress 
)
inline

◆ GetMaxPixelsPerBlock()

int QSI_Registry::GetMaxPixelsPerBlock ( int  iDefaultValue)
inline

◆ GetNumber()

int QSI_Registry::GetNumber ( std::string  strKeyPath,
std::string  strSubKeyName,
int  iDefaultValue 
)
inline

◆ GetSelectedCamera()

std::string QSI_Registry::GetSelectedCamera ( bool  bIsMainCamera)
inline

◆ GetSelectedFilterWheel()

std::string QSI_Registry::GetSelectedFilterWheel ( std::string  strSerialNumber,
bool  bIsMainCamera 
)
inline

◆ GetSelectedInterface()

int QSI_Registry::GetSelectedInterface ( bool  bIsMainCamera,
int  iDefaultInterface 
)
inline

◆ GetString()

std::string QSI_Registry::GetString ( std::string  strKeyPath,
std::string  strSubKeyName,
std::string  strDefaultValue 
)
inline

◆ GetUSBExReadTimeout()

int QSI_Registry::GetUSBExReadTimeout ( int  iDefaultValue)
inline

◆ GetUSBExWriteTimeout()

int QSI_Registry::GetUSBExWriteTimeout ( int  iDefaultValue)
inline

◆ GetUSBInSize()

int QSI_Registry::GetUSBInSize ( int  iDefaultValue)
inline

◆ GetUSBOutSize()

int QSI_Registry::GetUSBOutSize ( int  iDefaultValue)
inline

◆ GetUSBReadTimeout()

int QSI_Registry::GetUSBReadTimeout ( int  iDefaultValue)
inline

◆ GetUSBWriteTimeout()

int QSI_Registry::GetUSBWriteTimeout ( int  iDefaultValue)
inline

◆ KeyExists()

bool QSI_Registry::KeyExists ( std::string  strKeyPath)
inline

◆ RecordExists()

bool QSI_Registry::RecordExists ( std::string  strSerialNumber,
bool  bIsMainCamera 
)
inline

◆ RegDelKey()

int QSI_Registry::RegDelKey ( std::string  Section,
std::string  Key 
)
inline

◆ RegDelnode()

int QSI_Registry::RegDelnode ( std::string  Root)
inline

◆ RegQueryValueEx()

int QSI_Registry::RegQueryValueEx ( std::string  strKeyPath,
std::string  strSubKeyName,
int  n0,
int  n1,
int *  piData,
int  dSize 
)
inline

◆ SetAdvancedSetupSettings()

void QSI_Registry::SetAdvancedSetupSettings ( std::string  strSerialNumber,
bool  bIsMainCamera,
QSI_AdvSettings  AdvSettings 
)
inline

◆ SetBoolean()

void QSI_Registry::SetBoolean ( std::string  strKeyPath,
std::string  strSubKeyName,
bool  bValue 
)
inline

◆ SetIPv4Address()

void QSI_Registry::SetIPv4Address ( int  iIPv4Addr,
bool  bIsMainCamera 
)
inline

◆ SetNumber()

void QSI_Registry::SetNumber ( std::string  strKeyPath,
std::string  strSubKeyName,
int  iValue 
)
inline

◆ SetSelectedCamera()

void QSI_Registry::SetSelectedCamera ( std::string  strSerialNumber,
bool  bIsMainCamera 
)
inline

◆ SetSelectedFilterWheel()

void QSI_Registry::SetSelectedFilterWheel ( std::string  strSerialNumber,
bool  bIsMainCamera,
std::string  strFilterName 
)
inline

◆ SetSelectedInterface()

void QSI_Registry::SetSelectedInterface ( int  iInterface,
bool  bIsMainCamera 
)
inline

◆ SetString()

void QSI_Registry::SetString ( std::string  strKeyPath,
std::string  strSubKeyName,
std::string  strValue 
)
inline

Member Data Documentation

◆ m_iError

int QSI_Registry::m_iError
private

◆ m_ini

CSimpleIniCaseA QSI_Registry::m_ini
private

◆ m_rc

SI_Error QSI_Registry::m_rc
private

◆ m_szPath

char QSI_Registry::m_szPath[MAX_PATH+1]
private

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