![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2002 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: humanFollowPSR.h,v $ $Revision: 1.1 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00012 #ifndef humanFollowPSR_H_ 00013 #define humanFollowPSR_H_ 00014 00015 #include "vrfobjcore/processSR.h" 00016 #include "vrfutil/rwString.h" 00017 #include "vrfutil/rwVector.h" 00018 #include "vrfobjcore/vrfobjcoreDefines.h" 00019 00024 00025 class DT_DLL_vrfobjcore DtHumanFollowPSR : public DtVrfProcessStateRepository 00026 { 00027 public: 00028 00030 DtHumanFollowPSR(DtVrfObject* vrfObject, 00031 const DtString& rwName = DtString::nullString(), 00032 DtReaderWriterRegistry* parentRegistry = 0); 00033 00035 DtHumanFollowPSR(const DtHumanFollowPSR& orig, 00036 const DtString& rwName = DtString::nullString(), 00037 DtReaderWriterRegistry* parentRegistry = 0); 00038 00040 virtual ~DtHumanFollowPSR(); 00041 00043 DtHumanFollowPSR& operator=(const DtHumanFollowPSR& orig); 00044 00046 virtual DtVrfProcessStateRepository* clone( 00047 const DtString& rwName = DtString::nullString(), 00048 DtReaderWriterRegistry* parentRegistry = 0) const; 00049 00052 virtual DtString type() const; 00053 00056 virtual void setEntityToFollow(const DtString& objectName); 00057 virtual const DtString& entityToFollow() const; 00059 00063 virtual void setFollowingOffsetVector(const DtVector& offsetVector); 00064 virtual const DtVector& followingOffsetVector() const; 00066 00069 virtual void setControlObjectName(const DtString& controlObjectName); 00070 virtual const DtString& controlObjectName() const; 00072 00078 virtual void setWorldDestination(const DtVector& destination); 00079 virtual const DtVector& worldDestination() const; 00081 00082 public: 00083 00085 static DtVrfProcessStateRepository* creator (const DtString& rwName, 00086 DtVrfObject* vrfObject, DtReaderWriterRegistry* parentRegistry); 00087 00088 protected: 00089 00094 DtRwString myEntityToFollow; 00095 DtRwVector myOffsetVector; 00096 00102 DtRwString myControlObjectName; 00103 00105 DtRwVector myWorldDestination; 00106 }; 00107 00108 #endif