![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2010 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtDeRecord.h,v $ $Revision: 1.11 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00012 00013 #ifndef DtDeRecord_H_ 00014 #define DtDeRecord_H_ 00015 00016 #include <vrvCore/vrvCore.h> 00017 #include <vrvUtil/DtDeInitializer.h> 00018 00019 namespace makVrv 00020 { 00021 class DtMessageClient; 00022 00025 class DT_DLL_VRVCORE DtDeRecord 00026 { 00027 public: 00028 00030 static const int FixedStringSize = 128; 00031 00033 DtDeRecord(); 00034 00036 DtDeRecord(const std::string& name,DtDeInitializer::DeMode mode, 00037 DtMessageClient* messageClient, 00038 const std::string& displayName = ""); 00039 00041 DtDeRecord(const DtDeRecord& record); 00042 00044 DtDeRecord& operator=(const DtDeRecord& record); 00045 00047 ~DtDeRecord(); 00048 00050 inline const std::string& name() const { return myName; } 00051 00054 inline const std::string& displayName() const { return myDisplayEngineName; } 00055 00057 void setDisplayEngineName(const std::string& name); 00058 00060 inline DtDeInitializer::DeMode mode() const { return myMode; } 00061 00065 inline DtMessageClient* messageClient() const { return myMessageClient; } 00066 00067 protected: 00068 std::string myName; 00069 std::string myDisplayEngineName; 00070 DtDeInitializer::DeMode myMode; 00071 DtMessageClient* myMessageClient; 00072 }; 00073 } 00074 00075 #endif 00076