![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2010 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: $ $Revision: 97812 $ $State: $ 00007 ******************************************************************************/ 00008 00012 00013 #pragma once 00014 #include <vrfGuiObjectInformationQt/vrfGuiObjectInformationQt.h> 00015 #include <vrvCore/DtPagePath.h> 00016 00017 namespace makVrf 00018 { 00019 class DtVrfStateViewCollectionManager; 00020 00021 namespace makVrfGuiObjectInformationQt 00022 { 00029 class DT_DLL_VRFGUIOBJECTINFORMATIONQT DtInformationPagePath : public makVrv::DtPagePath 00030 { 00031 public: 00032 00033 //Internal class which is used to ensure that it is not possible to incorrectly 00034 //build a menu path. 00035 struct DT_DLL_VRFGUIOBJECTINFORMATIONQT InformationPagePathBuilder : public PagePathBuilder 00036 { 00037 public: 00038 friend class DtInformationPagePath; 00039 00042 InformationPagePathBuilder page(const std::string& name) const; 00043 00045 DtInformationPagePath informationItem(const std::string& name) const; 00046 00047 protected: 00048 00049 InformationPagePathBuilder(const std::string& name); 00050 }; 00051 00053 DtInformationPagePath(); 00054 00056 DtInformationPagePath(const InformationPagePathBuilder& builder); 00057 00059 DtInformationPagePath(const DtInformationPagePath& copy); 00060 00062 DtInformationPagePath(const DtPagePath& copy); 00063 00064 //Start a main menu. 00065 static InformationPagePathBuilder page(const std::string& name); 00066 00067 bool isInformationItem() const; 00068 00069 std::string name() const; 00070 00071 protected: 00073 DtInformationPagePath(const std::string& path); 00074 }; 00075 } 00076 }