VR-Forces 4.0.4 Class Documentation
include/vrfGuiCore/DtAggregateDataInterface.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2012 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtAggregateDataInterface.h,v $ $Revision: 1.4 $ $State: Exp $
00007 ******************************************************************************/
00008 
00011 
00015 
00016 #pragma once
00017 
00018 #include <vrfGuiCore/vrfGuiCore.h>
00019 #include <vrfGuiCore/DtEntityDataInterface.h>
00020 #include <vrfGuiCore/DtAggregateState.h>
00021 
00022 namespace makVrf
00023 {
00027    class DT_DLL_VRFGUICORE DtAggregateDataInterface : public DtEntityDataInterface
00028    {
00029    public:
00030       DtAggregateDataInterface(makVrv::DtDe&);
00031       virtual ~DtAggregateDataInterface();
00032 
00036       virtual void setStateView(const makVrv::DtStateView<makVrv::DtSimState>*);
00037 
00039       virtual makVrv::DtElementEntry::ElementType type() const;
00040 
00042       virtual std::vector<makVrv::DtElementID> subordinates() const;
00043 
00045       virtual std::string formation() const;
00046 
00048       virtual DtVector dimensions() const;
00049 
00051       makVrv::DtStateView<DtVrlinkSimulatedAggregateState>* aggregateStateView() const
00052       {
00053          return myAggregateStateView;
00054       }
00055 
00056    protected:
00058       virtual void slot_simObjectEntryAboutToBeRemoved(makVrv::DtSimObjectEntry&);
00059 
00060    protected:
00061       makVrv::DtStateView<DtVrlinkSimulatedAggregateState>* myAggregateStateView;
00062    };
00063 
00064    typedef DtObjectDataInterfaceCreator<DtAggregateDataInterface> DtAggregateDataInterfaceCreator;
00065    typedef DtBoost::shared_ptr<DtAggregateDataInterface> DtAggregateDataInterfacePtr;
00066 }

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)