rambrain
rambrain::configuration Struct Reference

Main struct to save configuration variables. More...

#include <configreader.h>

Public Member Functions

 configuration ()
 Init configuration with standard values using half the available memory and disk space where the binary lives. More...
 

Public Attributes

configLine< string > memoryManager
 
configLine< string > swap
 
configLine< string > swapfiles
 
configLine< global_bytesizememory
 
configLine< global_bytesizeswapMemory
 
configLine< bool > enableDMA
 
configLine< swapPolicypolicy
 
vector< configLineBase * > configOptions
 

Detailed Description

Main struct to save configuration variables.

Note
Should not be instantiated by the user, this is done in rambrainconfig.h and managedMemory.cpp
When extended don't forget to add the new options to configOptions

Definition at line 131 of file configreader.h.

Constructor & Destructor Documentation

rambrain::configuration::configuration ( )

Init configuration with standard values using half the available memory and disk space where the binary lives.

First d will be replaced by the process id, the second one will be replaced by the swapfile id

Definition at line 92 of file configreader.cpp.

Member Data Documentation

vector<configLineBase *> rambrain::configuration::configOptions

Definition at line 143 of file configreader.h.

configLine<bool> rambrain::configuration::enableDMA

Definition at line 140 of file configreader.h.

configLine<global_bytesize> rambrain::configuration::memory

Definition at line 139 of file configreader.h.

configLine<string> rambrain::configuration::memoryManager

Definition at line 138 of file configreader.h.

configLine<swapPolicy> rambrain::configuration::policy

Definition at line 141 of file configreader.h.

configLine<string> rambrain::configuration::swap

Definition at line 138 of file configreader.h.

configLine<string> rambrain::configuration::swapfiles

Definition at line 138 of file configreader.h.

configLine<global_bytesize> rambrain::configuration::swapMemory

Definition at line 139 of file configreader.h.


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