VR-Forces 4.0.4 Class Documentation
include/vrfGuiCore/DtCreateMenuBuilder.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2009 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: DtCreateMenuBuilder.h,v $ $Revision: 1.2 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00013 
00014 #pragma once
00015 
00016 #include <vrfGuiCore/vrfGuiCore.h>
00017 #include <vrfGuiCore/entityMapperKey.h>
00018 #include <vector>
00019 #include <map>
00020 
00021 class DtModelSet;
00022 class DtModelSetEntry;
00023 
00024 namespace makVrv
00025 {
00026    class DtDe;
00027 }
00028 
00029 namespace makVrf
00030 {
00031    class DtMenu;
00032    class DT_DLL_VRFGUICORE DtCreateMenuBuilder
00033    {
00034    private:
00036       DtCreateMenuBuilder();
00037 
00038    public:
00039       DtCreateMenuBuilder(makVrv::DtDe&, const DtModelSet* modelSet);
00040 
00041       virtual ~DtCreateMenuBuilder();
00042 
00046       virtual void setIndividualMenuItems(const std::vector<DtEntityMapperKey>&);
00047 
00051       virtual DtMenu* createMenu() const;
00052 
00053    protected:
00054       virtual bool isIndividualMenuItem(const DtModelSetEntry*) const;
00055 
00058       virtual std::map<DtString, int> categoriesWithOnlyOneForce(const DtModelSet*) const;
00059 
00060    protected:
00061       makVrv::DtDe&                    myDe;
00062       const DtModelSet*                myModelSet;
00063       std::vector<DtEntityMapperKey>   myIndividualMenuItems;
00064    };
00065 }

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)