FEDEM Solver  R8.0
Source code of the dynamics solver
Public Member Functions | Protected Member Functions | Private Attributes | Friends | List of all members
FFaUnitCalculatorProvider Class Reference

#include <FFaUnitCalculator.H>

Inheritance diagram for FFaUnitCalculatorProvider:
Inheritance graph
[legend]
Collaboration diagram for FFaUnitCalculatorProvider:
Collaboration graph
[legend]

Public Member Functions

const FFaUnitCalculatorgetCalculator (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...
 
FFaSingeltonoperator= (const FFaSingelton &)=delete
 Disable default assignment operator. More...
 

Private Attributes

std::map< std::string, FFaUnitCalculatormyCalcs
 

Friends

FFaUnitCalculatorProviderFFaSingelton ()
 

Additional Inherited Members

- Static Public Member Functions inherited from FFaSingelton< FFaUnitCalculatorProvider >
static FFaUnitCalculatorProviderinstance ()
 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...
 

Constructor & Destructor Documentation

◆ FFaUnitCalculatorProvider()

FFaUnitCalculatorProvider::FFaUnitCalculatorProvider ( )
inlineprotected

◆ ~FFaUnitCalculatorProvider()

virtual FFaUnitCalculatorProvider::~FFaUnitCalculatorProvider ( )
inlineprotectedvirtual

Member Function Documentation

◆ addCalculator()

void FFaUnitCalculatorProvider::addCalculator ( const FFaUnitCalculator calc)

◆ getCalculator()

const FFaUnitCalculator * FFaUnitCalculatorProvider::getCalculator ( const std::string &  calcName) const

◆ getCalculatorNames()

void FFaUnitCalculatorProvider::getCalculatorNames ( std::vector< std::string > &  definedCalcs) const

◆ getCalculators()

std::vector< const FFaUnitCalculator * > FFaUnitCalculatorProvider::getCalculators ( ) const

◆ printCalculatorDefs()

bool FFaUnitCalculatorProvider::printCalculatorDefs ( const std::string &  filename) const

Writes calculator data to file.

◆ readCalculatorDefs()

bool FFaUnitCalculatorProvider::readCalculatorDefs ( const std::string &  filename)

Reads/writes calculator data from file.

Friends And Related Function Documentation

◆ FFaSingelton

Member Data Documentation

◆ myCalcs

std::map<std::string,FFaUnitCalculator> FFaUnitCalculatorProvider::myCalcs
private

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