![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2009 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtAggregateState.h,v $ $Revision: 1.1 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00011 00013 00014 #pragma once 00015 00016 #include <vrfGuiCore/vrfGuiCore.h> 00017 #include <vrvCore/DtEntityState.h> 00018 00019 namespace makVrv 00020 { 00021 class DtMessage; 00022 } 00023 00024 namespace makVrf 00025 { 00026 struct DT_DLL_VRFGUICORE DtVrlinkSimulatedAggregateState : public makVrv::DtVrlinkSimulatedEntityState 00027 { 00028 00029 public: 00030 00032 DtVrlinkSimulatedAggregateState(); 00033 00035 virtual ~DtVrlinkSimulatedAggregateState(); 00036 00037 bool operator==(const DtVrlinkSimulatedAggregateState&) const; 00038 bool operator!=(const DtVrlinkSimulatedAggregateState& rhs) const 00039 { 00040 return !(*this == rhs); 00041 } 00042 00043 public: 00044 DtVector myDimensions; 00045 int myAggregateState; 00046 int myFormationType; 00047 std::string myFormation; 00048 std::vector<std::string> mySubAggregates; 00049 std::vector<std::string> mySubEntities; 00050 00051 typedef struct _DtSilentEntityRecord 00052 { 00053 int myNumSilentEntities; 00054 std::string myEntityType; 00055 std::vector<int> myAppearances; 00056 } DtSilentEntityRecord; 00057 std::vector<DtSilentEntityRecord> mySilentEntities; 00058 00059 std::vector<std::pair<int, std::string> > mySilentAggregates; 00060 }; 00061 00063 DT_DLL_VRFGUICORE makVrv::DtMessage& operator<<( makVrv::DtMessage& msg,const DtVrlinkSimulatedAggregateState& state ); 00064 00066 DT_DLL_VRFGUICORE makVrv::DtMessage& operator>>( makVrv::DtMessage& msg, DtVrlinkSimulatedAggregateState& state ); 00067 00068 00070 typedef makVrv::DtStateView<DtVrlinkSimulatedAggregateState> DtVrlinkAggregateStateView; 00071 }