VR-Forces 4.0.4 Class Documentation
include/vrfmodel/humanSetController.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 1999 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: humanSetController.h,v $ $Revision: 1.3 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00014 
00015 
00016 #ifndef humanSetController_H_
00017 #define humanSetController_H_
00018 
00019 
00020 #include "vrfmodel/lclEntSetCtlr.h"
00021 #include "vrfobjcore/simRadio.h"
00022 
00023 class DtSimMessage;
00024 class DtVrfObject;
00025 
00026 
00034 #include "vrfmodel/vrfmodelDefines.h"
00035 class DT_DLL_vrfmodel DtHumanSetController : public DtLocalEntitySetController
00036 {
00037 
00038 public:
00039 
00042    DtHumanSetController(const DtString& name, 
00043       DtVrfObject* owner,
00044       DtSimManager* simManager, 
00045       DtComponentDescriptor* desc = 0,
00046       DtReaderWriterRegistry* parentRegistry = 0);
00047 
00049    virtual ~DtHumanSetController();
00050 
00053    virtual DtString type() const;
00054 
00055    virtual void processSetPosture(DtSimMessage * msg);
00056    virtual void processSetWeaponState(DtSimMessage * msg);
00057    virtual void processSetSurrender(DtSimMessage * msg);
00058 
00059    static void setPostureCallback(DtSimMessage * msg, void * usrData);
00060    static void setWeaponStateCallback(DtSimMessage * msg, void * usrData);
00061    static void setSurrenderCallback(DtSimMessage * msg, void * usrData);
00062 
00066    static DtSimComponent * creator(const DtString& name, 
00067       DtVrfObject* owner,
00068       DtSimManager* simManager, 
00069       DtComponentDescriptor* desc = 0,
00070       DtReaderWriterRegistry* parentRegistry = 0);
00071 
00072 protected:
00075    DtHumanSetController();
00076 
00078    DtHumanSetController(const DtHumanSetController& orig);
00079 
00081    const DtHumanSetController & operator=(const 
00082       DtHumanSetController& orig);
00083 
00084 protected:
00086    virtual void processSetAppearance(DtSimMessage* msg);
00087 
00088 protected:
00090    virtual void setRadio(DtSimRadio * radio);
00091 };
00092 
00093 #endif
00094 

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)