![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2007 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: humanStopMovingController.h,v $ $Revision: 1.2 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00013 00014 #ifndef humanStopMovingController_h 00015 #define humanStopMovingController_h 00016 00017 #include "vrfobjcore/singleTaskControllerComponent.h" 00018 #include "vrfmodel/vrfmodelDefines.h" 00019 00020 class DtSimMessage; 00021 class DtHumanMovementControlOutputPortGroup; 00022 00028 class DT_DLL_vrfmodel DtHumanStopMovingController : public DtSingleTaskControllerComponent 00029 { 00030 private: 00032 DtHumanStopMovingController(); 00034 DtHumanStopMovingController(const DtHumanStopMovingController& orig); 00036 DtHumanStopMovingController& operator=(const DtHumanStopMovingController& orig); 00037 public: 00039 DtHumanStopMovingController(const DtString& name, DtVrfObject* owner, DtSimManager* simManager, DtComponentDescriptor* desc=0, DtReaderWriterRegistry *parentRegistry=0); 00040 00042 virtual ~DtHumanStopMovingController(); 00043 00045 virtual bool init(); 00046 00048 virtual DtString type() const; 00049 00051 virtual void tick(); 00052 00056 static void stopMovingCallback(DtSimMessage * msg, void * usr); 00057 virtual void processStopMovingTask(DtSimMessage * msg); 00058 00060 virtual void registerTaskMsgCallbacks(); 00061 00063 static DtSimComponent* creator(const DtString& name, DtVrfObject* owner, DtSimManager* simManager, DtComponentDescriptor* desc=0, DtReaderWriterRegistry* parentRegistry=0); 00064 00066 virtual bool createPortGroups(); 00067 00069 virtual void clearTask(); 00070 00071 protected: 00072 00074 00075 00077 DtHumanMovementControlOutputPortGroup* myHumanMovementControlOutputPortGroup; 00079 }; 00080 00081 #endif