FEDEM Solver
R8.0
Source code of the dynamics solver
|
#include <FFaUnitCalculator.H>
Public Member Functions | |
const FFaUnitCalculator * | getCalculator (const std::string &calcName) const |
void | getCalculatorNames (std::vector< std::string > &definedCalcs) const |
std::vector< const FFaUnitCalculator * > | getCalculators () const |
void | addCalculator (const FFaUnitCalculator &calc) |
bool | readCalculatorDefs (const std::string &filename) |
Reads/writes calculator data from file. More... | |
bool | printCalculatorDefs (const std::string &filename) const |
Writes calculator data to file. More... | |
Protected Member Functions | |
FFaUnitCalculatorProvider () | |
virtual | ~FFaUnitCalculatorProvider () |
Protected Member Functions inherited from FFaSingelton< FFaUnitCalculatorProvider > | |
FFaSingelton () | |
The constructor is protected to allow objects of sub-classes only. More... | |
FFaSingelton (const FFaSingelton &)=delete | |
Disable default copy constructor. More... | |
FFaSingelton & | operator= (const FFaSingelton &)=delete |
Disable default assignment operator. More... | |
Private Attributes | |
std::map< std::string, FFaUnitCalculator > | myCalcs |
Friends | |
FFaUnitCalculatorProvider * | FFaSingelton () |
Additional Inherited Members | |
Static Public Member Functions inherited from FFaSingelton< FFaUnitCalculatorProvider > | |
static FFaUnitCalculatorProvider * | instance () |
Returns the actual instance of this class. More... | |
static void | removeInstance () |
Deletes the dynamically allocated instance. More... | |
static bool | allocated () |
Returns true, if the instance has been allocated. More... | |
|
inlineprotected |
|
inlineprotectedvirtual |
void FFaUnitCalculatorProvider::addCalculator | ( | const FFaUnitCalculator & | calc | ) |
const FFaUnitCalculator * FFaUnitCalculatorProvider::getCalculator | ( | const std::string & | calcName | ) | const |
void FFaUnitCalculatorProvider::getCalculatorNames | ( | std::vector< std::string > & | definedCalcs | ) | const |
std::vector< const FFaUnitCalculator * > FFaUnitCalculatorProvider::getCalculators | ( | ) | const |
bool FFaUnitCalculatorProvider::printCalculatorDefs | ( | const std::string & | filename | ) | const |
Writes calculator data to file.
bool FFaUnitCalculatorProvider::readCalculatorDefs | ( | const std::string & | filename | ) |
Reads/writes calculator data from file.
|
friend |
|
private |