|
MULTIBODY SIMULATION SOFTWARE - API documentation |
#include <CHclassRegister.h>


Public Member Functions | |
| virtual void * | create (std::string &class_name)=0 |
| virtual std::string | get_conventional_name (std::string &compiler_name)=0 |
Static Public Member Functions | |
| static ChClassRegisterCommon ** | GetStaticHeadAddr () |
Public Attributes | |
| ChClassRegisterCommon * | m_pNext |
| ChClassRegisterCommon ** chrono::ChClassRegisterCommon::GetStaticHeadAddr | ( | ) | [static] |
All instancied ChClassRegister<t> are collect inside an unique global list. this 'head' is the head of that STATIC list.
The root of the list of ChClassRegister<t> objects, each will contain the name ID of the class,and other useful things such as the method which can create a 't' object in runtime.
| virtual void* chrono::ChClassRegisterCommon::create | ( | std::string & | class_name | ) | [pure virtual] |
The signature of create method for derived classes.
Implemented in chrono::ChClassRegisterABSTRACT< t >, and chrono::ChClassRegister< t >.
| virtual std::string chrono::ChClassRegisterCommon::get_conventional_name | ( | std::string & | compiler_name | ) | [pure virtual] |
The signature of get_conventional_name method for derived classes.
Implemented in chrono::ChClassRegisterABSTRACT< t >.
Each item in the gloabl list of ChClassRegister<t> object has a pointer to the next item named m_pNext. The last element has a NULL value inside m_pNext.
CHRONO::ENGINE