INET Framework for OMNeT++/OMNEST
inet::InitStage Class Reference

This class provides constants for initialization stages for modules overriding cComponent::initialize(int stage). More...

#include <InitStageRegistry.h>

Public Member Functions

 InitStage (const char *name)
 
 operator int () const
 

Public Attributes

int number = -1
 
const char * name = nullptr
 
std::vector< InitStage * > precedingStages
 
std::vector< InitStage * > followingStages
 

Detailed Description

This class provides constants for initialization stages for modules overriding cComponent::initialize(int stage).

The numbers are assigned lazily on the first access to any initialization stage.

Constructor & Destructor Documentation

◆ InitStage()

inet::InitStage::InitStage ( const char *  name)
inline
61 : name(name) {}

Member Function Documentation

◆ operator int()

inet::InitStage::operator int ( ) const
inline

Member Data Documentation

◆ followingStages

std::vector<InitStage *> inet::InitStage::followingStages

◆ name

const char* inet::InitStage::name = nullptr

◆ number

int inet::InitStage::number = -1

◆ precedingStages

std::vector<InitStage *> inet::InitStage::precedingStages

The documentation for this class was generated from the following file:
inet::InitStage::name
const char * name
Definition: InitStageRegistry.h:56
inet::InitStage::number
int number
Definition: InitStageRegistry.h:55
inet::InitStageRegistry::ensureInitStageNumbersAssigned
void ensureInitStageNumbersAssigned()
Definition: InitStageRegistry.h:39
inet::globalInitStageRegistry
InitStageRegistry globalInitStageRegistry
Definition: InitStageRegistry.cc:14