![]() |
VR-Forces Developer's Guide
|
Stores recent scenarios loaded. Limited to 5 scenarios.

Public Member Functions | |
| DtVrfGuiRecentScenarios (makVrv::DtDe *=0) | |
| DtVrfGuiRecentScenarios (const DtVrfGuiRecentScenarios &) | |
| virtual | ~DtVrfGuiRecentScenarios () override |
| virtual DtVrfGuiApplicationSetting * | clone () const override |
| const std::vector< std::string > | recentScenarios () const |
| int | maxSize () const |
| void | setMaxSize (int) |
| void | insertScenario (const std::string &, int pos=-1) |
| int | removeScenario (const std::string &) |
| virtual std::string | classType () const override |
Public Member Functions inherited from makVrf::DtVrfGuiApplicationSetting | |
| DtVrfGuiApplicationSetting (makVrv::DtDe *=0) | |
| DtVrfGuiApplicationSetting (const DtVrfGuiApplicationSetting &) | |
| virtual | ~DtVrfGuiApplicationSetting () |
| virtual int | dataVersion () |
Protected Member Functions | |
| virtual void | write (boost::archive::xml_oarchive &out, const unsigned int) override |
| virtual void | read (boost::archive::xml_iarchive &in, const unsigned int) override |
Protected Member Functions inherited from makVrf::DtVrfGuiApplicationSetting | |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Protected Attributes | |
| std::vector< std::string > | myRecentScenarios |
| unsigned int | myMaxSize |
Protected Attributes inherited from makVrf::DtVrfGuiApplicationSetting | |
| makVrv::DtDe * | myDe |
Friends | |
| class | boost::serialization::access |
Additional Inherited Members | |
Static Public Member Functions inherited from makVrf::DtVrfGuiApplicationSetting | |
| template<typename T > | |
| static std::string | theClassType () |
| template<typename T > | |
| static DtVrfGuiApplicationSetting * | create (makVrv::DtDe &de) |
| makVrf::DtVrfGuiRecentScenarios::DtVrfGuiRecentScenarios | ( | makVrv::DtDe * | = 0 | ) |
| makVrf::DtVrfGuiRecentScenarios::DtVrfGuiRecentScenarios | ( | const DtVrfGuiRecentScenarios & | ) |
|
overridevirtual |
|
overridevirtual |
Clones the object.
Implements makVrf::DtVrfGuiApplicationSetting.
|
inline |
|
inline |
| void makVrf::DtVrfGuiRecentScenarios::setMaxSize | ( | int | ) |
If max size is less than current list size, remove extra items.
| void makVrf::DtVrfGuiRecentScenarios::insertScenario | ( | const std::string & | , |
| int | pos = -1 |
||
| ) |
| int makVrf::DtVrfGuiRecentScenarios::removeScenario | ( | const std::string & | ) |
|
overridevirtual |
Must implement to return unique name of class. Call REGISTER_APPLICATION_SETTING with the class object to register it.
Implements makVrf::DtVrfGuiApplicationSetting.
|
overrideprotectedvirtual |
Override to read/write settings.
Implements makVrf::DtVrfGuiApplicationSetting.
|
overrideprotectedvirtual |
Implements makVrf::DtVrfGuiApplicationSetting.
|
friend |
|
protected |