|
Tizen Native API
4.0
|
Registers a type from type info. More...
Public Member Functions | |
| TypeRegistration (const std::type_info ®isterType, const std::type_info &baseType, TypeInfo::CreateFunction f) | |
| Constructor registers the type creation function. | |
| TypeRegistration (const std::type_info ®isterType, const std::type_info &baseType, TypeInfo::CreateFunction f, bool callCreateOnInit) | |
| Constructor registers the type creation function. | |
| TypeRegistration (const std::string &name, const std::type_info &baseType, TypeInfo::CreateFunction f) | |
| Constructor registers the type creation function for a named class or type. | |
| const std::string | RegisteredName () const |
| The name the type is registered under (derived from type_info). | |
Registers a type from type info.
| Dali::TypeRegistration::TypeRegistration | ( | const std::type_info & | registerType, |
| const std::type_info & | baseType, | ||
| TypeInfo::CreateFunction | f | ||
| ) |
Constructor registers the type creation function.
| [in] | registerType | The type info for the type to be registered |
| [in] | baseType | The base type info of registerType |
| [in] | f | registerType Instance creation function |
| Dali::TypeRegistration::TypeRegistration | ( | const std::type_info & | registerType, |
| const std::type_info & | baseType, | ||
| TypeInfo::CreateFunction | f, | ||
| bool | callCreateOnInit | ||
| ) |
Constructor registers the type creation function.
| [in] | registerType | the type info for the type to be registered |
| [in] | baseType | the base type info of registerType |
| [in] | f | registerType instance creation function |
| [in] | callCreateOnInit | If true the creation function is called as part of Dali initialization |
| Dali::TypeRegistration::TypeRegistration | ( | const std::string & | name, |
| const std::type_info & | baseType, | ||
| TypeInfo::CreateFunction | f | ||
| ) |
Constructor registers the type creation function for a named class or type.
This allows types to be created dynamically from script. The name must be unique for successful registration.
| [in] | name | the name of the type to be registered |
| [in] | baseType | the base type info of registerType |
| [in] | f | registerType instance creation function |
| const std::string Dali::TypeRegistration::RegisteredName | ( | ) | const |
The name the type is registered under (derived from type_info).