AppCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
factory.h File Reference
#include "appcore/cardevent/managed_defines.h"
#include "appcore/cardevent/cardevent.h"
Include dependency graph for factory.h:

Go to the source code of this file.

Functions

void AddClass (CardEvent __EDATAPTR)
 
CardEvent __EDATAPTR Clone (long classID)
 
 Factory ()
 
 ~Factory ()
 

Variables

__ECLASS FactoryPr
 
__EPUBLIC __ECLASS Factory
 (Internal) Implementation of factory design pattern. Keeps instances of all known card events and provides them by classID More...
 

Function Documentation

void Factory::AddClass ( CardEvent __EDATAPTR  addedClass)

Adds class instance to factory

Parameters
pointerto CardEvent instance
CardEvent __EDATAPTR Clone ( long  classID)

Returns instance of CardEvent class by its ID

Parameters
classID: long - ID of class to clone
Factory ( )
Factory::~Factory ( )

Variable Documentation

Factory::Factory
Initial value:
{
private:
EEventTripTicketPr __EDATAPTR d
Definition: EEventTripTicket.h:96
__ECLASS FactoryPr
Definition: factory.h:4
#define __EDATAPTR
Definition: managed_defines.h:14

(Internal) Implementation of factory design pattern. Keeps instances of all known card events and provides them by classID

FactoryPr::FactoryPr