ApparatusFramework::Factory Class Reference
[Kernel Services]

#include <KernelServices/common/current/include/Factory.h>

List of all members.

Public Member Functions

void initialize ()
void startup ()

Static Public Member Functions

static FactoryCreate ()
static FactoryDefault ()
static bool IsCreated ()

Detailed Description

Factory class for the framework.

The Factory class creates the instances of all objects, initializes them and starts them up. The factory itself has to be instantiated in the main and is a singleton.

Definition at line 62 of file Factory.h.

Member Function Documentation

static Factory* ApparatusFramework::Factory::Create (  )  [static]

singleton methods Creates an instance of the singleton if none exists yet. The object is created in static memory.

A pointer to the created singleton instance.
static Factory* ApparatusFramework::Factory::Default (  )  [static]

References an instance that has been previously created.

A pointer to the singleton instance.
void ApparatusFramework::Factory::initialize (  ) 

Initializes the Factory accordingly to the factory startup pattern.

static bool ApparatusFramework::Factory::IsCreated (  )  [static]

States whether an instance of this singleton has been created.

True if an instance has been created, false otherwise.
void ApparatusFramework::Factory::startup (  ) 

Starts the Factory accordingly to the factory startup pattern.

© 2004-2010 bbv Software Services AG / Apparatus Services