DUNE: Uniform Navigational Environment
2020.01.0
|
Classes | |
struct | Details |
Public Member Functions | |
~Profiles (void) | |
void | add (const std::string &name, const std::string &description) |
void | clear (void) |
void | select (const std::string &name) |
void | unselect (const std::string &name) |
bool | isSelected (const std::string &name) |
std::string | getSelected (void) |
|
inline |
Destructor.
References add(), clear(), getSelected(), isSelected(), select(), and unselect().
void DUNE::Tasks::Profiles::add | ( | const std::string & | name, |
const std::string & | description | ||
) |
Add a profile to the list of available profiles.
name | profile name. |
description | profile description. |
References DUNE::Tasks::Profiles::Details::description.
Referenced by DUNE::Daemon::Daemon(), and ~Profiles().
void DUNE::Tasks::Profiles::clear | ( | void | ) |
Clear all profiles.
Referenced by ~Profiles().
std::string DUNE::Tasks::Profiles::getSelected | ( | void | ) |
Retrieve the comma separated list of currently selected profiles.
Referenced by ~Profiles().
bool DUNE::Tasks::Profiles::isSelected | ( | const std::string & | name | ) |
Test if a given profile (or any profile in a profile list) is selected.
name | profile name or comma separated list of profile names. |
References DUNE::Utils::String::split().
Referenced by DUNE::Navigation::BasicNavigation::BasicNavigation(), DUNE::Tasks::Manager::Manager(), DUNE::Navigation::BasicNavigation::onEntityResolution(), DUNE::Navigation::BasicNavigation::onUpdateParameters(), and ~Profiles().
void DUNE::Tasks::Profiles::select | ( | const std::string & | name | ) |
Select a given profile or comma separated list of profiles.
name | profile name or comma separated list of profile names. |
References DUNE::Utils::String::split(), and DUNE::Utils::String::str().
Referenced by DUNE::Daemon::Daemon(), and ~Profiles().
void DUNE::Tasks::Profiles::unselect | ( | const std::string & | name | ) |
Unselect a given profile or profile list.
name | profile name or comma separated list of profile names. |
References DUNE::Utils::String::split(), and DUNE::Utils::String::str().
Referenced by ~Profiles().