Choreonoid  1.8
Public Types | Public Member Functions | Static Public Member Functions | List of all members
cnoid::MprStatementRegistration Class Reference

#include <MprStatementRegistration.h>

Public Types

typedef MprStatement *(* FactoryFunction) ()
 

Public Member Functions

 MprStatementRegistration ()
 
 MprStatementRegistration (const char *module)
 
template<class StatementType , class SuperType >
MprStatementRegistrationregisterType (const char *type)
 
template<class StatementType , class SuperType >
MprStatementRegistrationregisterAbstractType ()
 

Static Public Member Functions

static MprStatementcreate (const std::string &type)
 
static MprStatementcreate (const std::string &type, const std::string &module)
 
static const std::string & fullTypeName (const MprStatement *statement)
 

Member Typedef Documentation

◆ FactoryFunction

typedef MprStatement*(* cnoid::MprStatementRegistration::FactoryFunction) ()

Constructor & Destructor Documentation

◆ MprStatementRegistration() [1/2]

MprStatementRegistration::MprStatementRegistration ( )

◆ MprStatementRegistration() [2/2]

MprStatementRegistration::MprStatementRegistration ( const char *  module)

Member Function Documentation

◆ create() [1/2]

MprStatement * MprStatementRegistration::create ( const std::string &  type)
static

◆ create() [2/2]

MprStatement * MprStatementRegistration::create ( const std::string &  type,
const std::string &  module 
)
static

◆ fullTypeName()

const std::string & MprStatementRegistration::fullTypeName ( const MprStatement statement)
static

◆ registerAbstractType()

template<class StatementType , class SuperType >
MprStatementRegistration& cnoid::MprStatementRegistration::registerAbstractType ( )
inline

◆ registerType()

template<class StatementType , class SuperType >
MprStatementRegistration& cnoid::MprStatementRegistration::registerType ( const char *  type)
inline

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