|
INET Framework for OMNeT++/OMNEST
|
Base class for lifecycle operations that manipulate a application. More...
#include <ApplicationOperations.h>
Public Types | |
| enum | Stage { STAGE_LOCAL, STAGE_LAST } |
Public Types inherited from inet::LifecycleOperation | |
| typedef std::map< std::string, std::string > | StringMap |
Public Member Functions | |
| ApplicationOperationBase () | |
| virtual void | initialize (cModule *module, StringMap ¶ms) |
| Initialize the operation using the parameters provided in the string map. More... | |
| virtual int | getNumStages () const |
| Returns the number of stages required by this operation. More... | |
Public Member Functions inherited from inet::LifecycleOperation | |
| LifecycleOperation () | |
| cModule * | getRootModule () const |
| Returns the module the operation is initiated on. More... | |
| int | getCurrentStage () const |
| Returns the current stage, an integer in 0..numStages-1. More... | |
Base class for lifecycle operations that manipulate a application.
|
inlinevirtual |
|
virtual |
Initialize the operation using the parameters provided in the string map.
The implementation should destructively modify the map, removing from it the parameters it understands. Ideally, the map should be empty when this method returns; if it is not, the caller should treat that as an error, and report the remaining parameters as unrecognized by the operation.
Reimplemented from inet::LifecycleOperation.