VR-Forces 4.0.4 Class Documentation
include/vrfmodel/orgCtlr.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2002 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: orgCtlr.h,v $ $Revision: 1.11 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00014 
00015 
00016 #ifndef DtOrganizationController_H_
00017 #define DtOrganizationController_H_
00018 
00019 
00020 #include "vrfobjcore/cntrlCmpnt.h"
00021 #include "vrfobjcore/simRadio.h"
00022 
00023 class DtSimMessage;
00024 class DtVrfObject;
00025 
00034 #include "vrfmodel/vrfmodelDefines.h"
00035 class DT_DLL_vrfmodel DtOrganizationController : public DtControllerComponent
00036 {
00037 
00038 private:
00041    DtOrganizationController();
00042 
00043 public:
00044 
00047    DtOrganizationController(const DtString& name, 
00048       DtVrfObject* owner, 
00049       DtSimManager* simManager, 
00050       DtComponentDescriptor* desc = 0,
00051       DtReaderWriterRegistry* parentRegistry = 0);
00052 
00054    DtOrganizationController(const DtOrganizationController& orig);
00055 
00057    const DtOrganizationController & operator=(const 
00058       DtOrganizationController& orig);
00059 
00061    virtual ~DtOrganizationController();
00062 
00063    virtual bool init();
00064 
00067    virtual DtString type() const;
00068 
00071    virtual void tick();
00072 
00077    virtual bool generateEchelonId(int designator);
00078 
00080    virtual void processSetDesignator(DtSimMessage * msg);
00081    
00082    static void setDesignatorCallback(DtSimMessage * msg, void * usrData);
00083 
00087    static DtSimComponent * creator(const DtString& name, 
00088       DtVrfObject* owner,
00089       DtSimManager* simManager, 
00090       DtComponentDescriptor* desc = 0,
00091       DtReaderWriterRegistry* parentRegistry = 0);
00092 
00096    virtual bool tickWhileDestroyed() const;
00097 
00098 protected:
00100    virtual void setRadio(DtSimRadio * radio);
00101 
00103    int myRequestedDesignator;
00104 
00105 };
00106 
00107 #endif
00108 

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)