Public Member Functions | |
std::string | GetBasePath (void) const |
Gets the base path that is applied to the relative paths in the configuration file. | |
RngSeed | GetSeed (void) const |
Gets the seed used to initialize the random number generator. | |
void | RunSimulation (void) |
Performs the simulation based on the current setup. | |
void | SetBasePath (std::string const &basePath) |
Assigns a base path to apply to all relative paths in the configuration file. | |
void | SetSeed (RngSeed rngSeed) |
Initializes the random number generator based on the provided seed. | |
void | Setup (boost::shared_ptr< std::istream > configuration) |
Parses a configuration and prepares the simulator for running. | |
YansCore (void) | |
Constructor. | |
~YansCore (void) | |
Destructor. | |
Friends | |
class | ConfigParser |
Responsible for:
YansCoreNS::YansCore::YansCore | ( | void | ) | [explicit] |
Constructor.
YansCoreNS::YansCore::~YansCore | ( | void | ) |
Destructor.
std::string YansCoreNS::YansCore::GetBasePath | ( | void | ) | const |
Gets the base path that is applied to the relative paths in the configuration file.
RngSeed YansCoreNS::YansCore::GetSeed | ( | void | ) | const |
Gets the seed used to initialize the random number generator.
void YansCoreNS::YansCore::RunSimulation | ( | void | ) |
Performs the simulation based on the current setup.
void YansCoreNS::YansCore::SetBasePath | ( | std::string const & | basePath | ) |
Assigns a base path to apply to all relative paths in the configuration file.
basePath | The path to ally to the relative paths in the configuration file. |
void YansCoreNS::YansCore::SetSeed | ( | RngSeed | rngSeed | ) |
Initializes the random number generator based on the provided seed.
rngSeed | The seed to the random number generator. |
void YansCoreNS::YansCore::Setup | ( | boost::shared_ptr< std::istream > | configuration | ) |
Parses a configuration and prepares the simulator for running.
configuration | An input stream containing the configuration. |
friend class ConfigParser [friend] |