Graphite  Version 3
An experimental 3D geometry processing program
OGF::DynamicFactoryMetaClass Class Reference
Inheritance diagram for OGF::DynamicFactoryMetaClass:
OGF::FactoryMetaClass OGF::Factory GEO::Counted

Public Member Functions

 DynamicFactoryMetaClass (MetaClass *mclass, Callable *action=nullptr)
 FactoryMetaClass constructor. More...
 
Objectcreate (const ArgList &args) override
 Creates an objet. More...
 
- Public Member Functions inherited from OGF::FactoryMetaClass
 FactoryMetaClass (MetaClass *mclass)
 FactoryMetaClass constructor. More...
 
MetaClassmeta_class () const
 Gets the MetaClass. More...
 
- Public Member Functions inherited from OGF::Factory
 Factory ()
 Factory constructor.
 
virtual ~Factory ()
 Factory destructor.
 
- Public Member Functions inherited from GEO::Counted
void ref () const
 Increments the reference count. More...
 
void unref () const
 Decrements the reference count. More...
 
bool is_shared () const
 Check if the object is shared. More...
 
int nb_refs () const
 Gets the number of references that point to this object. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from GEO::Counted
static void ref (const Counted *counted)
 Increments the reference count. More...
 
static void unref (const Counted *counted)
 Decrements the reference count. More...
 
- Protected Member Functions inherited from GEO::Counted
 Counted ()
 Creates a reference counted object. More...
 
virtual ~Counted ()
 Destroys a reference counted object. More...
 

Detailed Description

Definition at line 77 of file dynamic_object.h.

Constructor & Destructor Documentation

◆ DynamicFactoryMetaClass()

OGF::DynamicFactoryMetaClass::DynamicFactoryMetaClass ( MetaClass mclass,
Callable action = nullptr 
)
inline

FactoryMetaClass constructor.

Parameters
[in]mclassa pointer to the meta class

Definition at line 83 of file dynamic_object.h.

Member Function Documentation

◆ create()

Object* OGF::DynamicFactoryMetaClass::create ( const ArgList args)
overridevirtual

Creates an objet.

Selects the best constructor according to the arguments.

Parameters
[in]argsa const reference to the list of arguments
Returns
the created object
See also
MetaClass::best_constructor()

Reimplemented from OGF::FactoryMetaClass.


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