Polyphase Game Engine
Loading...
Searching...
No Matches
Factory Class Reference

#include <Factory.h>

Public Member Functions

 Factory ()
 
TypeId GetType ()
 
virtual void * Create ()
 
virtual const char * GetClassName () const
 
void SetCategory (const char *category)
 
const std::string & GetCategory () const
 

Protected Attributes

TypeId mType = 0
 
std::string mEditorCategory
 

Constructor & Destructor Documentation

◆ Factory()

Factory::Factory ( )
inline

Member Function Documentation

◆ Create()

virtual void * Factory::Create ( )
inlinevirtual

◆ GetCategory()

const std::string & Factory::GetCategory ( ) const
inline

◆ GetClassName()

virtual const char * Factory::GetClassName ( ) const
inlinevirtual

◆ GetType()

TypeId Factory::GetType ( )
inline

◆ SetCategory()

void Factory::SetCategory ( const char *  category)
inline

Member Data Documentation

◆ mEditorCategory

std::string Factory::mEditorCategory
protected

◆ mType

TypeId Factory::mType = 0
protected

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