![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2009 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtEnvironmentState.h,v $ $Revision: 1.2 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00011 00013 00014 #pragma once 00015 00016 #include <vrfGuiCore/vrfGuiCore.h> 00017 00018 #include <vrvCore/DtEntityState.h> 00019 00020 namespace makVrv 00021 { 00022 class DtMessage; 00023 } 00024 00025 namespace makVrf 00026 { 00027 struct DT_DLL_VRFGUICORE DtVrlinkSimulatedEnvironmentProcess : public makVrv::DtVrlinkSimulatedBaseState 00028 { 00029 00030 public: 00031 00033 DtVrlinkSimulatedEnvironmentProcess(); 00034 00036 virtual ~DtVrlinkSimulatedEnvironmentProcess(); 00037 00038 bool operator==(const DtVrlinkSimulatedEnvironmentProcess& rhs) const 00039 { 00040 if (makVrv::DtVrlinkSimulatedBaseState::operator==(rhs)) 00041 { 00042 return ((myPoints == rhs.myPoints) && 00043 (myUserData == rhs.myUserData) && 00044 (myLineStyle == rhs.myLineStyle) && 00045 (myFillStyle == rhs.myFillStyle) && 00046 (myLineWidth == rhs.myLineWidth) && 00047 (myColor == rhs.myColor) && 00048 (myAttributes == rhs.myAttributes) && 00049 (myClosedFigure == rhs.myClosedFigure) && 00050 (myOverlayParent == rhs.myOverlayParent) && 00051 (myProjected == rhs.myProjected)); 00052 } 00053 00054 return false; 00055 } 00056 00057 bool operator!=(const DtVrlinkSimulatedEnvironmentProcess& rhs) const 00058 { 00059 return !(*this == rhs); 00060 } 00061 00062 public: 00063 00064 std::vector<DtVector> myPoints; 00065 00066 std::string myUserData; 00067 00069 int myLineStyle; 00070 int myFillStyle; 00071 int myLineWidth; 00072 00074 int myColor; 00075 00076 bool myClosedFigure; 00077 bool myProjected; 00078 int myAttributes; 00079 00080 std::string myOverlayParent; 00081 }; 00082 00084 DT_DLL_VRFGUICORE makVrv::DtMessage& operator<<( makVrv::DtMessage& msg,const DtVrlinkSimulatedEnvironmentProcess& state ); 00085 00087 DT_DLL_VRFGUICORE makVrv::DtMessage& operator>>( makVrv::DtMessage& msg, DtVrlinkSimulatedEnvironmentProcess& state ); 00088 00089 00091 typedef makVrv::DtStateView<DtVrlinkSimulatedEnvironmentProcess> DtEnvironmentStateView; 00092 }