16 #include <boost/atomic.hpp>
47 virtual bool addLight(
DtLightPointType *lightPointType,
const std::string& codeStr);
59 virtual void loadLightTableFromXML(
const std::string& fileName);
67 virtual void saveDefaultLightValuesToCSV(
const std::string&
filename);
74 virtual void loadDefaultLightValuesFromCSV(
const std::string& filename);
78 virtual void loadDefaultLightValuesFromXML(
const std::string& fileName);
84 virtual void loadTunningLightValuesFromXML(
const std::string& fileName);
87 virtual bool isDirty();
93 virtual int maxCode();
96 virtual void updateLightPointTypeMap();
104 virtual void loadLightTypeFromXML(
xmlNodePtr lightTypeNode,
const std::string* parentType);
107 virtual bool compareXmlString(
const xmlChar *xmlStr,
const char* compareStr);
std::map< const std::string, unsigned int > StringIntMap
Definition: DtLightPointTable.h:129
#define DT_DLL_VRVUTIL
Definition: vrvUtil.h:34
std::pair< unsigned int, DtLightPointType * > IntLightPointTypePair
Definition: DtLightPointTable.h:115
StringIntMap myHierarchyToCodeTable
Definition: DtLightPointTable.h:131
std::map< unsigned int, DtLightPointType * > IntLightPointTypeMap
Definition: DtLightPointTable.h:114
struct _xmlNode xmlNode
Definition: DtLightPointTable.h:19
std::pair< DtLightPointType, unsigned int > LightPointTypeIntPair
Definition: DtLightPointTable.h:112
Contains DLL export macros.
Lights Table class, handles loading the light type table default files and keeping track of all the c...
Definition: DtLightPointTable.h:34
std::pair< const std::string, unsigned int > StringIntPair
Definition: DtLightPointTable.h:130
xmlNode * xmlNodePtr
Definition: DtLightPointTable.h:20
int myMaxCode
Definition: DtLightPointTable.h:126
unsigned char xmlChar
Definition: DtLightPointTable.h:21
IntLightPointTypeMap myLightsTable
Table of CDB Lights loaded from Light.xml (and complete by either the Light_xxx.xml Tunning file or L...
Definition: DtLightPointTable.h:119
LightPointTypeIntMap myLightPointTypes
used when creating additional custom types that are not in the tables that are saved on disk ...
Definition: DtLightPointTable.h:123
Light point information class, Used to represent a Light Point Type in the light point table with all...
Definition: DtLightPointType.h:22
std::map< DtLightPointType, unsigned int > LightPointTypeIntMap
Definition: DtLightPointTable.h:111
boost::atomic< bool > myDirtyFlag
Definition: DtLightPointTable.h:125