![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2006 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: $ $Revision: $ $State: $ 00007 *******************************************************************************/ 00008 00011 00012 #ifndef bhaveTask_h 00013 #define bhaveTask_h 00014 00015 #include "bhaveMsgs/bhaveMsgsDefines.h" 00016 #include <vrftasks/userTask.h> 00017 00018 namespace BHAVE 00019 { 00021 const char BHAVE_TASK[] = "kynapse-task"; 00022 const char BHAVE_MOVE_TO_LOCATION_TASK[] = "move-to-location"; 00023 const char BHAVE_MOVE_TO_WAYPOINT_TASK[] = "move-to-waypoint"; 00024 const char BHAVE_FLEE_TASK[] = "flee"; 00025 const char BHAVE_HIDE_TASK[] = "hide"; 00026 const char BHAVE_WANDER_TASK[] = "wander"; 00027 const char BHAVE_FOLLOW_TASK[] = "follow"; 00028 const char BHAVE_PATHWAY_TASK[] = "pathway"; 00029 const char BHAVE_PATROL_ROUTE_TASK[] = "patrol-route"; 00030 const char BHAVE_PATROL_BETWEEN_TASK[] = "patrol-between"; 00031 00059 class DT_DLL_bhaveMsgs DtBhaveTask : public DtUserTask 00060 { 00061 public: 00062 00064 DtBhaveTask(); 00065 00068 DtBhaveTask(const DtString & writeName, 00069 DtReaderWriterRegistry * parentRegistry = 0); 00070 00072 virtual ~DtBhaveTask(); 00073 00075 DtBhaveTask(const DtString & writeName, const DtBhaveTask & orig, 00076 DtReaderWriterRegistry * parentRegistry = 0); 00077 00079 DtBhaveTask& operator=(const DtBhaveTask & orig); 00080 00082 virtual int type() const; 00083 00085 virtual DtSimTask * clone(const DtString & name, DtReaderWriterRegistry * 00086 parentRegistry = 0) const; 00087 00089 virtual DtString stringRep() const; 00090 00092 static DtSimTask * creator(); 00093 }; 00094 00095 #endif 00096 00097 }