OverSim
GlobalParameters Class Reference

Modul for storing global simulation parameters. More...

#include <GlobalParameters.h>

Public Member Functions

bool getPrintStateToStdOut () const
bool getTopologyAdaptation ()

Protected Member Functions

virtual void initialize ()

Private Attributes

bool printStateToStdOut

Detailed Description

Modul for storing global simulation parameters.

Author
Ingmar Baumgart

Definition at line 34 of file GlobalParameters.h.

Member Function Documentation

bool GlobalParameters::getPrintStateToStdOut ( ) const
inline

Definition at line 37 of file GlobalParameters.h.

{
}
bool GlobalParameters::getTopologyAdaptation ( )
inline

Definition at line 42 of file GlobalParameters.h.

{
return par("topologyAdaptation");
}
void GlobalParameters::initialize ( )
protectedvirtual

Definition at line 31 of file GlobalParameters.cc.

{
printStateToStdOut = par("printStateToStdOut");
if (!ev.isDisabled()) {
ev.getOStream().setf(std::ios::fixed, std::ios::floatfield);
ev.getOStream().precision(3);
}
}

Member Data Documentation

bool GlobalParameters::printStateToStdOut
private

Definition at line 51 of file GlobalParameters.h.

Referenced by getPrintStateToStdOut(), and initialize().


The documentation for this class was generated from the following files: