Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
ShdDefFactoryClass Class Referenceabstract

#include <shddeffactory.h>

Inherited by SimpleShdDefFactoryClass< T, class_id, name >.

Public Member Functions

 ShdDefFactoryClass (void)
 Constructor for ShdDefFactoryClass.
 
virtual ~ShdDefFactoryClass (void)
 Destructor for ShdDefFactoryClass.
 
virtual ShdDefClassCreate (void) const =0
 
virtual const char * Get_Name (void) const =0
 
virtual uint32 Get_Class_ID (void) const =0
 

Protected Attributes

ShdDefFactoryClassNextFactory
 
ShdDefFactoryClassPrevFactory
 

Friends

class ShdDefManagerClass
 

Detailed Description

ShdDefFactoryClass - An instance of this class is used to automatically register each unique type of ShdDefClass with the system. This object is responsible for creating shader definitions. All existing 'DefFactories' can be iterated over and presented to the user in a menu.

Definition at line 58 of file shddeffactory.h.

Constructor & Destructor Documentation

◆ ShdDefFactoryClass()

ShdDefFactoryClass::ShdDefFactoryClass ( void )

Constructor for ShdDefFactoryClass.

Automatically registers this instance of the ShdDefFactory with the manager.

Definition at line 55 of file shddeffactory.cpp.

◆ ~ShdDefFactoryClass()

ShdDefFactoryClass::~ShdDefFactoryClass ( void )
virtual

Destructor for ShdDefFactoryClass.

Automatically un-registers this instance of a ShdDefFactory from the manager.

Definition at line 68 of file shddeffactory.cpp.

Member Function Documentation

◆ Create()

virtual ShdDefClass * ShdDefFactoryClass::Create ( void ) const
pure virtual

◆ Get_Class_ID()

virtual uint32 ShdDefFactoryClass::Get_Class_ID ( void ) const
pure virtual

◆ Get_Name()

virtual const char * ShdDefFactoryClass::Get_Name ( void ) const
pure virtual

Friends And Related Symbol Documentation

◆ ShdDefManagerClass

friend class ShdDefManagerClass
friend

Definition at line 79 of file shddeffactory.h.

Member Data Documentation

◆ NextFactory

ShdDefFactoryClass* ShdDefFactoryClass::NextFactory
protected

Definition at line 76 of file shddeffactory.h.

◆ PrevFactory

ShdDefFactoryClass* ShdDefFactoryClass::PrevFactory
protected

Definition at line 77 of file shddeffactory.h.


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