![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2008 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: diGuyCharacterAnimationTable.h,v $ $Revision: 1.2 $ $State: Exp $ 00007 ** Created: 4/9/08 MEM 00008 *******************************************************************************/ 00009 00012 00014 00015 #ifndef diGuyCharacterAnimationTable_H_ 00016 #define diGuyCharacterAnimationTable_H_ 00017 00018 #include "vrfutil/rwList.h" 00019 #include <vl/hostStructs.h> 00020 #include <list> 00021 #include "vrfutil/diGuyCharacterData.h" 00022 00023 class DtDIGuyCharAnimationsEntry; 00024 class DtRwDIGuyAnimationsList; 00025 00029 #include "vrfutil/vrfutilDefines.h" 00030 class DT_DLL_vrfutil DtDIGuyCharacterAnimationTable : public DtRwList 00031 { 00032 public: 00033 00034 //default constructor 00035 DtDIGuyCharacterAnimationTable(); 00036 00038 DtDIGuyCharacterAnimationTable(const DtString& name, 00039 DtReaderWriterRegistry* parentRegistry = NULL); 00040 DtDIGuyCharacterAnimationTable(const DtSymbolString& name, 00041 DtReaderWriterRegistry* parentRegistry = NULL); 00042 00044 DtDIGuyCharacterAnimationTable(const DtString& name, 00045 const DtDIGuyCharacterAnimationTable& orig, 00046 DtReaderWriterRegistry* parentRegistry = NULL); 00047 00048 DtDIGuyCharacterAnimationTable(const DtSymbolString& name, 00049 const DtDIGuyCharacterAnimationTable& orig, 00050 DtReaderWriterRegistry* parentRegistry = NULL); 00051 00052 const DtDIGuyCharacterAnimationTable & operator=(const DtDIGuyCharacterAnimationTable & orig); 00053 00055 virtual ~DtDIGuyCharacterAnimationTable(); 00056 00057 virtual DtDIGuyCharacterAnimationTable* clone(const DtString& name, 00058 DtReaderWriterRegistry* parentRegistry = NULL) const; 00059 00060 virtual DtDIGuyCharacterAnimationTable* clone(const DtSymbolString& name, 00061 DtReaderWriterRegistry* parentRegistry = NULL) const; 00062 00064 virtual AlternateNamesList * availableCharacters(); 00065 00068 virtual void addCharacterAnimationsEntry(const DtDIGuyCharAnimationsEntry& selectEntry); 00069 00070 virtual DtDIGuyCharAnimationsEntry * lookupEntryByName(const DtString & characterName); 00071 00072 protected: 00073 00075 virtual DtlObjPtr getData(DtlObjPtr args, const DtFilename& searchPath, 00076 const DtVariableBindingsList& variableBindings); 00077 00078 virtual void emptyList(); 00079 virtual void copyList(const DtDIGuyCharacterAnimationTable & orig); 00080 virtual void addCharacterEntry(DtDIGuyCharAnimationsEntry* selectEntry); 00081 00082 protected: 00083 AlternateNamesList myAvailableCharacters; 00084 }; 00085 00086 #endif 00087 00088 00089