Skip to content

Class AIAC::Config

ClassList > AIAC > Config

Public Static Attributes

Type Name
const std::string AC_INFO_MODEL = = "ACInfoModel"
const std::string ALIGN_FLIP = = "AlignFlip"
const std::string ALIGN_OFFSET = = "AlignOffset"
const std::string ALIGN_ROTATION = = "AlignRotation"
const std::string CACHED_TOOLHEAD = = "CachedToolhead"
const std::string CAM_FLIP_HORIZONTAL = = "CamFlipHorizontal"
const std::string CAM_FLIP_VERTICAL = = "CamFlipVertical"
const std::string CAM_ID = = "CamID"
const std::string CAM_PARAMS_FILE = = "CamParamsFile"
const std::string CONFIG_FILE = = "ConfigFile"
const std::string DATASET_DIR = = "DatasetDir"
const std::string LINK_MODE = = "LinkMode"
const std::string MAP_FILE = = "MapFile"
const std::string NAME = = "Name"
const std::string RECONSTRUCT_CONFIG_DEFAULT_FILE = = "ReconstructConfigDefaultFile"
const std::string RESOLUTION = = "Resolution"
const std::string SAVE_DIR_MAPS = = "SaveDirMaps"
const std::string SCALE_FACTOR = = "ScaleFactor"
const std::string SCANNED_MODEL = = "ScannedModel"
const std::string SEC_AIAC = = "AIAC"
const std::string SEC_TEST = = "Test"
const std::string SEC_TOUCH_MONITOR_SPECS = = "TouchMonitorSpecs"
const std::string SEC_TSLAM = = "TSlam"
const std::string SEC_TTOOL = = "TTool"
const std::string SEC_UTILS = = "Utils"
const std::string STABILIZATION_FRAME_COUNT = = "SaveDirMaps"
const std::string TTOOL_ROOT_PATH = = "TToolRootPath"
const std::string UTILS_PATH = = "UtilsPath"
const std::string VIDEO_PATH = = "VideoPath"
const std::string VocFile = = "VocFile"

Public Functions

Type Name
Config (std::string filename, bool updateFile=true)

Public Static Functions

Type Name
T Get (const std::string & section, const std::string & name)
T Get (const std::string & section, const std::string & name, T && default_v)
std::vector< T > GetVector (const std::string & section, const std::string & name, const std::vector< T > & default_v)
void InsertEntry (const std::string & section, const std::string & name, const T & v)
void InsertEntry (const std::string & section, const std::string & name, const std::vector< T > & vs)
void UpdateEntry (const std::string & section, const std::string & name, const T & v)
void UpdateEntry (const std::string & section, const std::string & name, const std::vector< T > & vs)
void WriteToFile (std::string writeFilename="")

Public Static Attributes Documentation

variable AC_INFO_MODEL

const std::string AIAC::Config::AC_INFO_MODEL;

variable ALIGN_FLIP

const std::string AIAC::Config::ALIGN_FLIP;

variable ALIGN_OFFSET

const std::string AIAC::Config::ALIGN_OFFSET;

variable ALIGN_ROTATION

const std::string AIAC::Config::ALIGN_ROTATION;

variable CACHED_TOOLHEAD

const std::string AIAC::Config::CACHED_TOOLHEAD;

variable CAM_FLIP_HORIZONTAL

const std::string AIAC::Config::CAM_FLIP_HORIZONTAL;

variable CAM_FLIP_VERTICAL

const std::string AIAC::Config::CAM_FLIP_VERTICAL;

variable CAM_ID

const std::string AIAC::Config::CAM_ID;

variable CAM_PARAMS_FILE

const std::string AIAC::Config::CAM_PARAMS_FILE;

variable CONFIG_FILE

const std::string AIAC::Config::CONFIG_FILE;

variable DATASET_DIR

const std::string AIAC::Config::DATASET_DIR;

const std::string AIAC::Config::LINK_MODE;

variable MAP_FILE

const std::string AIAC::Config::MAP_FILE;

variable NAME

const std::string AIAC::Config::NAME;

variable RECONSTRUCT_CONFIG_DEFAULT_FILE

const std::string AIAC::Config::RECONSTRUCT_CONFIG_DEFAULT_FILE;

variable RESOLUTION

const std::string AIAC::Config::RESOLUTION;

variable SAVE_DIR_MAPS

const std::string AIAC::Config::SAVE_DIR_MAPS;

variable SCALE_FACTOR

const std::string AIAC::Config::SCALE_FACTOR;

variable SCANNED_MODEL

const std::string AIAC::Config::SCANNED_MODEL;

variable SEC_AIAC

const std::string AIAC::Config::SEC_AIAC;

variable SEC_TEST

const std::string AIAC::Config::SEC_TEST;

variable SEC_TOUCH_MONITOR_SPECS

const std::string AIAC::Config::SEC_TOUCH_MONITOR_SPECS;

variable SEC_TSLAM

const std::string AIAC::Config::SEC_TSLAM;

variable SEC_TTOOL

const std::string AIAC::Config::SEC_TTOOL;

variable SEC_UTILS

const std::string AIAC::Config::SEC_UTILS;

variable STABILIZATION_FRAME_COUNT

const std::string AIAC::Config::STABILIZATION_FRAME_COUNT;

variable TTOOL_ROOT_PATH

const std::string AIAC::Config::TTOOL_ROOT_PATH;

variable UTILS_PATH

const std::string AIAC::Config::UTILS_PATH;

variable VIDEO_PATH

const std::string AIAC::Config::VIDEO_PATH;

variable VocFile

const std::string AIAC::Config::VocFile;

Public Functions Documentation

function Config

inline AIAC::Config::Config (
    std::string filename,
    bool updateFile=true
) 

Public Static Functions Documentation

function Get [½]

template<typename T>
static inline T AIAC::Config::Get (
    const std::string & section,
    const std::string & name
) 

function Get [2/2]

template<typename T>
static inline T AIAC::Config::Get (
    const std::string & section,
    const std::string & name,
    T && default_v
) 

function GetVector

template<typename T>
static inline std::vector< T > AIAC::Config::GetVector (
    const std::string & section,
    const std::string & name,
    const std::vector< T > & default_v
) 

function InsertEntry [½]

template<typename T>
static inline void AIAC::Config::InsertEntry (
    const std::string & section,
    const std::string & name,
    const T & v
) 

function InsertEntry [2/2]

template<typename T>
static inline void AIAC::Config::InsertEntry (
    const std::string & section,
    const std::string & name,
    const std::vector< T > & vs
) 

function UpdateEntry [½]

template<typename T>
static inline void AIAC::Config::UpdateEntry (
    const std::string & section,
    const std::string & name,
    const T & v
) 

function UpdateEntry [2/2]

template<typename T>
static inline void AIAC::Config::UpdateEntry (
    const std::string & section,
    const std::string & name,
    const std::vector< T > & vs
) 

function WriteToFile

static inline void AIAC::Config::WriteToFile (
    std::string writeFilename=""
) 


The documentation for this class was generated from the following file src/AIAC/Config.h