MULTIBODY SIMULATION SOFTWARE - API documentation
Public Member Functions | Protected Attributes
chrono::ChClassRegisterABSTRACT< t > Class Template Reference

#include <CHclassRegister.h>

Inheritance diagram for chrono::ChClassRegisterABSTRACT< t >:
Inheritance graph
[legend]
Collaboration diagram for chrono::ChClassRegisterABSTRACT< t >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ChClassRegisterABSTRACT ()
virtual ~ChClassRegisterABSTRACT ()
virtual bool IsAbstract ()
virtual void * create (std::string &class_name)
virtual std::string get_conventional_name (std::string &compiler_name)

Protected Attributes

std::string m_sConventionalName

Detailed Description

template<class t>
class chrono::ChClassRegisterABSTRACT< t >

ChClassRegisterABSTRACT<t> is like the more specialized ChClassRegister<t>, which you will use more often, but the ..ABSTRACT version is needed to register abstract classes (those with some pure virutal member, which cannot be instantiated with 'new'. )


Constructor & Destructor Documentation

Default constructor: uses the chrono simulated RTTI features to get a name for the class. IT CAN BE USED ONLY ON CHRONO CLASSES WITH RTTI MACROS

template<class t >
virtual chrono::ChClassRegisterABSTRACT< t >::~ChClassRegisterABSTRACT ( ) [virtual]

Destructor (removes this from the global list of ChClassRegister<t> object.


Member Function Documentation

template<class t >
virtual std::string chrono::ChClassRegisterABSTRACT< t >::get_conventional_name ( std::string &  compiler_name) [virtual]

Return the conventional name ID of class t if typeid(t).name() match with compiler_name. Otherwise return an empty.

Implements chrono::ChClassRegisterCommon.


CHRONO::ENGINE
C++ library for multibody simulation, (C) Alessandro Tasora
This API documentation has been generated on Tue Jul 10 2012 by Doxygen