|
|
Classes | |
| class | Application |
| Class containing data about an application Provides methods to get and set the date contained in the application. More... | |
| class | ApplicationInstance |
| Class containing data about the instance of an application. More... | |
| struct | ApplicationStatus |
| class | Package |
| Class containing data about a package, its scenarios and its applications. More... | |
| class | Scenario |
| Class containing data about a scenario and its applications. More... | |
Typedefs | |
| using | ApplicationInstancePtr = std::shared_ptr<ApplicationInstance> |
| using | ApplicationInstanceVectorPtr = std::shared_ptr<std::vector<ApplicationInstancePtr>> |
| using | ApplicationInstanceWPtr = std::weak_ptr<ApplicationInstance> |
| using | ApplicationPtr = std::shared_ptr<Application> |
| using | ApplicationVectorPtr = std::shared_ptr<std::vector<ApplicationPtr>> |
| typedef std::map< std::string, std::string > | IceEnvMap |
| using | PackagePtr = std::shared_ptr<Package> |
| using | PackageVectorPtr |
| using | PropertyEnabledMap = std::map<std::string, bool> |
| using | ScenarioPtr = std::shared_ptr<Scenario> |
| using | ScenarioVectorPtr = std::shared_ptr<std::vector<ScenarioPtr>> |
| using | ScenarioWPtr = std::weak_ptr<Scenario> |
Enumerations | |
| enum class | Intent { None , Start , Stop , Restart } |
| What the ScenarioManager is currently trying to do with an application. More... | |
Functions | |
| const char * | ToString (Intent intent) |
| Human readable name of an intent, for logging. | |
| typedef std::shared_ptr< ApplicationInstance > ApplicationInstancePtr = std::shared_ptr<ApplicationInstance> |
| using ApplicationInstanceVectorPtr = std::shared_ptr<std::vector<ApplicationInstancePtr>> |
| using ApplicationInstanceWPtr = std::weak_ptr<ApplicationInstance> |
| using ApplicationPtr = std::shared_ptr<Application> |
| using ApplicationVectorPtr = std::shared_ptr<std::vector<ApplicationPtr>> |
| typedef std::map<std::string, std::string> IceEnvMap |
| typedef std::shared_ptr< Package > PackagePtr = std::shared_ptr<Package> |
| using PackageVectorPtr |
| using PropertyEnabledMap = std::map<std::string, bool> |
| using ScenarioPtr = std::shared_ptr<Scenario> |
| using ScenarioVectorPtr = std::shared_ptr<std::vector<ScenarioPtr>> |
| using ScenarioWPtr = std::weak_ptr<Scenario> |
|
strong |
What the ScenarioManager is currently trying to do with an application.
An intent is requested rather than executed: requesting one supersedes any earlier intent that has not been carried out yet, so the last thing the user asked for is what happens ("last intent wins"). None means no operation is requested or running.
Restart is a separate intent rather than "desired state = running" because it has to bounce an application that is already running. On a stopped application it simply starts it.
| Enumerator | |
|---|---|
| None | |
| Start | |
| Stop | |
| Restart | |
| const char * ToString | ( | Intent | intent | ) |
Human readable name of an intent, for logging.