VR-Forces 4.0.4 Class Documentation
include/vrfobjparam/occupancyDirectorDesc.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2005 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: occupancyDirectorDesc.h,v $ $Revision: 1.12 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00014 
00015 #ifndef DtOccupancyDirectorDescriptor_H_
00016 #define DtOccupancyDirectorDescriptor_H_
00017 
00018 #include "vrfobjparam/compDesc.h"
00019 #include "vrfutil/rwTemplatedList.h"
00020 #include "vrfobjparam/loadPoint.h"
00021 #include "vrfobjparam/slotExclusion.h"
00022 
00023 #include "vrfutil/rwVector.h"
00024 #include "vrfutil/rwBoolean.h"
00025 #include "vrfutil/rwReal.h"
00026 
00027 class DtReaderWriterRegistry;
00028 
00036 #include "vrfobjparam/vrfobjparamDefines.h"
00037 class DT_DLL_vrfobjparam DtOccupancyDirectorDescriptor : public DtComponentDescriptor
00038 {
00039 public:
00041    DtOccupancyDirectorDescriptor(const DtString& name, DtReaderWriterRegistry *
00042       parentRegistry = 0);
00043    
00045    DtOccupancyDirectorDescriptor(const DtOccupancyDirectorDescriptor & orig, 
00046       DtReaderWriterRegistry * parentRegistry = 0);
00047    
00049    virtual DtOccupancyDirectorDescriptor & operator=(const 
00050       DtOccupancyDirectorDescriptor & orig);
00051    
00053    virtual ~DtOccupancyDirectorDescriptor();
00054 
00057    virtual DtString type() const;
00058 
00059    virtual DtComponentDescriptor * clone(DtReaderWriterRegistry * parentRegistry
00060        = 0) const;
00061 
00063    static DtComponentDescriptor * creator();
00064 
00067    virtual const DtRwTemplatedListPtr<DtLoadPoint>& ingressPoints() const;
00068    virtual DtRwTemplatedListPtr<DtLoadPoint>& ingressPoints();
00070 
00073    virtual const DtRwTemplatedListPtr<DtLoadPoint>& egressPoints() const;
00074    virtual DtRwTemplatedListPtr<DtLoadPoint>& egressPoints();
00076 
00079    virtual const DtRwTemplatedListPtr<DtSlotExclusion>& slotExclusions() const;
00080    virtual DtRwTemplatedListPtr<DtSlotExclusion>& slotExclusions();
00082 
00085    virtual bool publishLoadPoints() const;
00086    virtual void setPublishLoadPoints(bool);
00088 
00091    virtual const DtRwList* embarkationSlots() const;
00092    virtual DtRwList* embarkationSlots();
00094 
00096    virtual bool operator==(const DtOccupancyDirectorDescriptor&) const;
00097    virtual bool operator!=(const DtOccupancyDirectorDescriptor&) const;
00098 
00099 protected:
00101    virtual bool init();
00102 
00108    virtual DtRwList* createSlotsList(const DtRwList* original = NULL);
00109 
00112    virtual void copySlotList(DtRwList* to, const DtRwList* from);
00113 
00114 private:
00116    DtOccupancyDirectorDescriptor();
00117 
00118 protected:
00122 
00126    DtRwList*   mySlots;
00127 
00132    DtRwTemplatedListPtr<DtLoadPoint>      myIngressPoints;
00133 
00138    DtRwTemplatedListPtr<DtLoadPoint>      myEgressPoints;
00139 
00144    DtRwTemplatedListPtr<DtSlotExclusion>  mySlotExclusions;
00145 
00150    DtRwBoolean                            myPublishLoadPoints;
00151 };
00152 
00153 #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)