![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2007 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: humanPosturePSR.h,v $ $Revision: 1.1 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00013 00014 #ifndef humanPosturePSR_h 00015 #define humanPosturePSR_h 00016 00017 #include "vrfobjcore/processSR.h" 00018 #include "vrfutil/rwInt.h" 00019 #include "vrfobjcore/vrfobjcoreDefines.h" 00020 #include "vrfutil/lifeformStaticPostures.h" 00021 00023 class DT_DLL_vrfobjcore DtHumanPosturePSR : public DtVrfProcessStateRepository 00024 { 00025 public: 00026 00028 DtHumanPosturePSR(DtVrfObject* vrfObject, 00029 const DtString& rwName = DtString::nullString(), 00030 DtReaderWriterRegistry* parentRegistry = 0); 00031 00033 DtHumanPosturePSR(const DtHumanPosturePSR& orig, 00034 const DtString& rwName = DtString::nullString(), 00035 DtReaderWriterRegistry* parentRegistry = 0); 00036 00038 virtual ~DtHumanPosturePSR(); 00039 00041 DtHumanPosturePSR& operator=(const DtHumanPosturePSR& orig); 00042 00044 virtual DtVrfProcessStateRepository* clone( 00045 const DtString& rwName = DtString::nullString(), 00046 DtReaderWriterRegistry* parentRegistry = 0) const; 00047 00050 virtual DtString type() const; 00051 00053 00054 virtual DtLifeformStaticPosture desiredStaticPosture() const; 00055 virtual void setDesiredStaticPosture(const DtLifeformStaticPosture& posture); 00057 00058 public: 00059 00061 static DtVrfProcessStateRepository* creator (const DtString& rwName, 00062 DtVrfObject* vrfObject, DtReaderWriterRegistry* parentRegistry); 00063 00064 protected: 00065 00068 DtRwInt myDesiredStaticPosture; 00069 }; 00070 00071 00072 #endif