VR-Forces 4.0.4 Class Documentation
include/vrfmodel/topLevOrgCtrl.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 1999 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: topLevOrgCtrl.h,v $ $Revision: 1.13 $ $State: Exp $
00007 *********************************************************************/
00008 
00011 
00014 
00015 #ifndef DtTopLevelOrganizationController_H_
00016 #define DtTopLevelOrganizationController_H_
00017 
00018 #include "vrfmodel/aggregateOrganizationController.h"
00019 
00028 #include "vrfmodel/vrfmodelDefines.h"
00029 class DT_DLL_vrfmodel DtTopLevelOrganizationController : public DtAggregateOrganizationController
00030 {
00031 
00032 private:
00033 
00034    DtTopLevelOrganizationController();
00035 
00037    DtTopLevelOrganizationController(
00038       const DtTopLevelOrganizationController& orig);
00039 
00041    DtTopLevelOrganizationController& operator=(
00042       const DtTopLevelOrganizationController& orig);
00043 
00044 public:
00045 
00048    DtTopLevelOrganizationController(const DtString& name, 
00049       DtVrfObject* owner, 
00050       DtSimManager* simManager, 
00051       DtComponentDescriptor* desc = 0,
00052       DtReaderWriterRegistry* parentRegistry = 0);
00053 
00055    virtual ~DtTopLevelOrganizationController();
00056 
00057    virtual bool init();
00058 
00061    virtual DtString type() const;
00062 
00065    virtual void tick();
00066 
00067    virtual bool generateEchelonId(int designator);
00068 
00072    static DtSimComponent * creator(const DtString& name, 
00073       DtVrfObject* owner,
00074       DtSimManager* simManager, 
00075       DtComponentDescriptor* desc = 0,
00076       DtReaderWriterRegistry* parentRegistry = 0);
00077 
00078 protected:
00079 
00083    virtual void setCommandNetRadioChannel();
00084 
00089    virtual int nextAvaliableDesignator();
00090 
00094    virtual void reorganize();
00095    
00099    virtual bool reorganizeNeeded();
00100 
00101 protected:
00102    typedef std::set<int> DtIntSet;
00106    DtIntSet myDesignatorsIssuedThisTick;
00107 
00108 };
00109 
00110 #endif

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)