Orxonox  0.0.5 Codename: Arcturus
Public Member Functions | List of all members
orxonox::ClassFactoryNoArgs< T > Class Template Reference

The ClassFactoryNoArgs is able to create new objects of a specific class that require no constructor arguments. More...

#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/libraries/core/object/ClassFactory.h>

Inheritance diagram for orxonox::ClassFactoryNoArgs< T >:
orxonox::ClassFactory< T > orxonox::Factory

Public Member Functions

Identifiablefabricate (Context *context)
 Creates and returns a new object of class T. More...
 
- Public Member Functions inherited from orxonox::Factory
 Factory ()=default
 
virtual ~Factory ()=default
 

Detailed Description

template<class T>
class orxonox::ClassFactoryNoArgs< T >

The ClassFactoryNoArgs is able to create new objects of a specific class that require no constructor arguments.

Member Function Documentation

template<class T >
Identifiable* orxonox::ClassFactoryNoArgs< T >::fabricate ( Context context)
inlinevirtual

Creates and returns a new object of class T.

Returns
The new object

Implements orxonox::Factory.


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