![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 1999 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: actCmpnt.h,v $ $Revision: 1.25 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00014 00015 #ifndef actCmpnt_H_ 00016 #define actCmpnt_H_ 00017 00018 #include <vlutil/vlString.h> 00019 #include "vrfobjcore/vrfobjcoreDefines.h" 00020 #include "vrfobjcore/simCmpnt.h" 00021 00022 class DtSimManager; 00023 class DtSimBaseRadio; 00024 00048 class DT_DLL_vrfobjcore DtActuatorComponent : public DtSimComponent 00049 { 00050 00051 protected: 00057 DtActuatorComponent(const DtString& name, 00058 DtVrfObject* owner, 00059 DtSimManager* simManager, 00060 DtComponentDescriptor* desc = 0, 00061 DtReaderWriterRegistry* parentRegistry = 0); 00062 00064 DtActuatorComponent(const DtActuatorComponent & orig); 00065 00067 const DtActuatorComponent & operator=(const DtActuatorComponent & orig); 00068 00069 public: 00071 virtual ~DtActuatorComponent(); 00072 00074 virtual bool init(); 00075 00077 virtual DtSimBaseRadio* radio(); 00078 00081 virtual bool tickWhileDestroyed() const; 00082 00083 protected: 00084 00085 virtual void setRadio(DtSimBaseRadio * radio); 00086 00089 DtActuatorComponent(); 00090 00091 protected: 00092 00095 DtSimBaseRadio* myRadio; 00096 }; 00097 00098 #endif 00099