aja::Factory Class Reference

class contain only static functions who create a instances of Elements, Attributes etc. More...

#include <Factory.h>

List of all members.

Static Public Member Functions

static ElementItemcreateElement (elementType_t type, number_t id)
 Function create Element instance of needed type.
static AttributeItemcreateAttribute (attributeType_t type, byte_t id)
 Function create instance of Attribute by needed type.


Detailed Description

class contain only static functions who create a instances of Elements, Attributes etc.


Member Function Documentation

AttributeItem * aja::Factory::createAttribute attributeType_t  type,
byte_t  id
[static]
 

Function create instance of Attribute by needed type.

Parameters:
type Type of created attribute
id ID of created attribute
Returns:
pointer to new created attribute, NULL when error occured or type is unspported

ElementItem * aja::Factory::createElement elementType_t  type,
number_t  id
[static]
 

Function create Element instance of needed type.

Parameters:
type Type of created element
id ID of new created element
Returns:
pointer to new created element, NULL when error occured or type is unspported


The documentation for this class was generated from the following files:
Generated on Sun Mar 4 00:30:37 2007 for LIBAJA by  doxygen 1.4.6