static ChunkProducer* CreateProducer |
( |
const std::string & |
producerName | ) |
|
|
static |
- Returns
- Returns a new ChunkProducer instance of the type specified or NULL if no producer with that tag is registered
- Parameters
-
producerName | The type of producer to create |
Public interface to the singleton
- Returns
- Returns a pointer to the singleton instance
static void RegisterProducer |
( |
const std::string & |
producerName, |
|
|
ProducerCreateFunc |
func |
|
) |
| |
|
static |
Registers a new producer type with the factory
- Parameters
-
producerName | The tag name associated with the producer |
func | A function that creates a producer of the type specified by producerName |
The list of registered makers
The documentation for this class was generated from the following file: