![]() |
MAK RTIspy API Documentation for HLA 1516
|
00001 /********************************************************************* 00002 ** Copyright (c) 2008 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: forwarderConfig.h,v $ $Revision: 1.4 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00012 #ifndef DtForwarderConfig_H_ 00013 #define DtForwarderConfig_H_ 00014 00015 #include <Qt/qstring.h> 00016 #include <vector> 00017 #include <baseConfig.h> 00018 00020 struct DtNCVTreeInfo 00021 { 00022 int columnIndex; 00023 bool columnEnabled; 00024 }; 00025 00029 class DT_DLL_ASSISTANTAPP DtForwarderConfig : public DtBaseConfig 00030 { 00031 public: 00032 00037 DtForwarderConfig( const MAKRti::DtFilename& xmlFile ); 00038 00040 virtual ~DtForwarderConfig(); 00041 00043 virtual bool rtiForwarderConsoleVisible(); 00044 virtual void setRtiForwarderConsoleVisible(bool val); 00045 00047 virtual std::vector<DtNCVTreeInfo> rtiNCVTreeInformation( unsigned int size ); 00048 virtual void setNCVTreeInformation( std::vector<DtNCVTreeInfo> treeList ); 00049 00050 private: 00051 00053 DtForwarderConfig( const DtForwarderConfig& ); 00054 DtForwarderConfig& operator=( const DtForwarderConfig& ); 00055 00056 protected: 00057 00059 void setDefaultConfig(); 00060 00061 00062 protected: 00063 00064 00066 00067 MAKRti::DtEnvValueSP myRtiForwarderConsoleVisible; 00069 00071 00072 static const bool theDefaultRtiForwarderConsoleVisible; 00073 static const MAKRti::DtString theRtiForwarderConsoleVisibleString; 00075 00077 std::vector<DtNCVTreeInfo> myNCVTreeInfo; 00078 00079 }; 00080 00081 inline std::ostream& operator<<( std::ostream& ostr, const DtForwarderConfig& config ) 00082 { 00083 return config.print( ostr ); 00084 } 00085 00086 #endif // DtForwarderConfig_H_