|
|
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> |
Definition at line 33 of file ApplicationInstance.h.
| using ApplicationInstanceVectorPtr = std::shared_ptr<std::vector<ApplicationInstancePtr>> |
Definition at line 35 of file ApplicationInstance.h.
| using ApplicationInstanceWPtr = std::weak_ptr<ApplicationInstance> |
Definition at line 34 of file ApplicationInstance.h.
| using ApplicationPtr = std::shared_ptr<Application> |
Definition at line 146 of file Application.h.
| using ApplicationVectorPtr = std::shared_ptr<std::vector<ApplicationPtr>> |
Definition at line 147 of file Application.h.
| typedef std::map<std::string, std::string> IceEnvMap |
Definition at line 47 of file Scenario.h.
| typedef std::shared_ptr< Package > PackagePtr = std::shared_ptr<Package> |
| using PackageVectorPtr |
| using PropertyEnabledMap = std::map<std::string, bool> |
Definition at line 39 of file Application.h.
| using ScenarioPtr = std::shared_ptr<Scenario> |
Definition at line 35 of file Scenario.h.
| using ScenarioVectorPtr = std::shared_ptr<std::vector<ScenarioPtr>> |
Definition at line 37 of file Scenario.h.
| using ScenarioWPtr = std::weak_ptr<Scenario> |
Definition at line 36 of file Scenario.h.
|
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 | |
Definition at line 57 of file ApplicationInstance.h.
| const char * ToString | ( | Intent | intent | ) |
Human readable name of an intent, for logging.
Definition at line 51 of file ApplicationInstance.cpp.
Here is the caller graph for this function: