chrono::ChClassRegistrationBase Class Referenceabstract

Description

Base class for all registration data of classes whose objects can be created via a class factory.

#include <ChClassFactory.h>

Inheritance diagram for chrono::ChClassRegistrationBase:

Public Member Functions

virtual void * create ()=0
 The signature of create method for derived classes. Calls new().
 
virtual void * create (ChArchiveIn &marchive)=0
 Call the ArchiveINconstructor(ChArchiveIn&) function if available (deserializes constructor params and return new()), otherwise just call new().
 
virtual std::type_index get_type_index ()=0
 Get the type_info of the class.
 
virtual std::string & get_tag_name ()=0
 Get the name used for registering.
 

The documentation for this class was generated from the following file:
  • /builds/uwsbel/chrono/src/chrono/core/ChClassFactory.h