Atlas  0.7.0
Networking protocol for the Worldforge system.
Atlas::Objects::Factory Struct Reference

#include <Factories.h>

Collaboration diagram for Atlas::Objects::Factory:

Public Attributes

FactoryMethod factory_method
 
DefaultInstanceMethod default_instance_method
 
int classno
 

Detailed Description

Holds methods for creating new instances and accessing the default instance.

Definition at line 57 of file Factories.h.

Member Data Documentation

◆ classno

int Atlas::Objects::Factory::classno

The class number for the objects created by this factory.

Definition at line 72 of file Factories.h.

Referenced by Atlas::Objects::Factories::createObject().

◆ default_instance_method

DefaultInstanceMethod Atlas::Objects::Factory::default_instance_method

Method for accessing the default instance.

Definition at line 67 of file Factories.h.

◆ factory_method

FactoryMethod Atlas::Objects::Factory::factory_method

Method for creating a new instance.

Definition at line 62 of file Factories.h.


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