VR-Forces 4.0.4 Class Documentation
include/vrfmodel/disaggregatedOccupancyDirectorController.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2005 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: disaggregatedOccupancyDirectorController.h,v $ $Revision: 1.1 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00015 
00016 #ifndef disaggregatedOccupancyDirectorController_H_
00017 #define disaggregatedOccupancyDirectorController_H_
00018 
00019 #include "vrfobjcore/singleTaskControllerComponent.h"
00020 
00021 class DtEmbarkationSlotInformation;
00022 
00036 #include "vrfmodel/vrfmodelDefines.h"
00037 class DT_DLL_vrfmodel DtDisaggregatedOccupancyDirectorController : public DtSingleTaskControllerComponent
00038 {
00039 public:
00040 
00043    DtDisaggregatedOccupancyDirectorController(const DtString& name, 
00044       DtVrfObject* owner,
00045       DtSimManager* simManager, 
00046       DtComponentDescriptor* desc = 0,
00047       DtReaderWriterRegistry* parentRegistry = 0);
00048 
00050    virtual ~DtDisaggregatedOccupancyDirectorController();
00051 
00054    virtual DtString type() const;
00055 
00059    static DtSimComponent * creator(const DtString& name, 
00060       DtVrfObject* owner,
00061       DtSimManager* simManager, 
00062       DtComponentDescriptor* desc = 0,
00063       DtReaderWriterRegistry* parentRegistry = 0);
00064 
00065 public:
00066    static void requestEmbarkationInformationCallback(DtSimMessage* msg, void* usr);
00067    virtual void processRequestEmbarkationInformation(DtSimMessage* msg);
00068 
00069    virtual bool init();
00070 
00071 protected:
00075    virtual DtString embarkableParent(const DtString& object) const;
00076 
00078    static void disembarkObjectCallback(DtSimMessage* msg, void* usr);
00081    virtual void processDisembarkObjectCallback(DtSimMessage* msg);
00082 
00083    virtual void sendTask(const DtSimTask& task, const DtString& to);
00084 };
00085 
00086 #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)