Operator Console
|
A class that contains a few configuration details. More...
#include <Config.h>
Public Member Functions | |
Config (void) | |
virtual | ~Config (void) |
void | Init (LPCTSTR iniFileName, LPCTSTR programPath, LPCTSTR ext, LPCTSTR fileRoot, LPCTSTR serialNum, LPCTSTR partNum, int nColors) |
Config (void) | |
virtual | ~Config (void) |
void | Init (LPCTSTR iniFileName, LPCTSTR programPath, LPCTSTR ext, LPCTSTR fileRoot, LPCTSTR serialNum, LPCTSTR partNum, int nColors) |
Public Attributes | |
const char * | m_programPath |
Path to Imatest. More... | |
const char * | m_iniFilePathName |
Fully-qualified ini file name (including full path) More... | |
const char * | m_extension |
RAW file extension. More... | |
const char * | m_fileRoot |
File root. More... | |
const char * | m_serialNumber |
Camera serial number. More... | |
const char * | m_partNumber |
Camera part number. More... | |
int | m_ncolors |
Protected Member Functions | |
bool | Load () |
bool | Save () |
bool | Load () |
bool | Save () |
A class that contains a few configuration details.
Config::Config | ( | void | ) |
References m_extension, m_fileRoot, m_iniFilePathName, m_ncolors, m_partNumber, m_programPath, and m_serialNumber.
Config::Config | ( | void | ) |
|
virtual |
void Config::Init | ( | LPCTSTR | iniFileName, |
LPCTSTR | programPath, | ||
LPCTSTR | ext, | ||
LPCTSTR | fileRoot, | ||
LPCTSTR | serialNum, | ||
LPCTSTR | partNum, | ||
int | nColors | ||
) |
References m_extension, m_fileRoot, m_iniFilePathName, m_ncolors, m_partNumber, m_programPath, and m_serialNumber.
Referenced by COperatorConsoleApp::Init().
void Config::Init | ( | LPCTSTR | iniFileName, |
LPCTSTR | programPath, | ||
LPCTSTR | ext, | ||
LPCTSTR | fileRoot, | ||
LPCTSTR | serialNum, | ||
LPCTSTR | partNum, | ||
int | nColors | ||
) |
|
protected |
|
protected |
|
protected |
const char * Config::m_extension |
RAW file extension.
Referenced by Config(), Init(), and ImageTest::Init().
const char * Config::m_fileRoot |
File root.
Referenced by Config(), Init(), and ImageTest::Init().
const char * Config::m_iniFilePathName |
Fully-qualified ini file name (including full path)
Referenced by Config(), Init(), ImageTest::Init(), COperatorConsoleApp::Init(), COperatorConsoleApp::OnSetup(), and COperatorConsoleApp::WriteINISettings().
int Config::m_ncolors |
Referenced by Config(), Init(), and ImageTest::Init().
const char * Config::m_partNumber |
Camera part number.
Referenced by Config(), Init(), ImageTest::Init(), COperatorConsoleApp::Init(), and COperatorConsoleApp::OnSetup().
const char * Config::m_programPath |
Path to Imatest.
Referenced by Config(), Init(), ImageTest::Init(), COperatorConsoleApp::Init(), and COperatorConsoleApp::OnSetup().
const char * Config::m_serialNumber |
Camera serial number.
Referenced by Config(), Init(), ImageTest::Init(), COperatorConsoleApp::Init(), and COperatorConsoleApp::OnSetup().