User Manual, Developers Guide and API Documentation

wns::wns::StaticFactoryBroker< ELEMENT, Creator< ELEMENT > > Class Template Reference

#include <StaticFactoryBroker.hpp>

Collaboration diagram for wns::wns::StaticFactoryBroker< ELEMENT, Creator< ELEMENT > >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

ELEMENT * procure (const std::string name)
 Returns object specified by name.
 ~StaticFactoryBroker ()
 Will delete all elements.

Private Types

typedef container::Registry
< std::string, ELEMENT
*, container::registry::DeleteOnErase
Registry
 Store objects created from name.

Private Attributes

Registry registry
 ELEMENTs are stored here.


Detailed Description

template<typename ELEMENT>
class wns::wns::StaticFactoryBroker< ELEMENT, Creator< ELEMENT > >

Definition at line 123 of file StaticFactoryBroker.hpp.


Member Typedef Documentation

template<typename ELEMENT>
typedef container::Registry<std::string, ELEMENT*, container::registry::DeleteOnErase> wns::wns::StaticFactoryBroker< ELEMENT, Creator< ELEMENT > >::Registry [private]

Definition at line 128 of file StaticFactoryBroker.hpp.


Constructor & Destructor Documentation

template<typename ELEMENT>
wns::wns::StaticFactoryBroker< ELEMENT, Creator< ELEMENT > >::~StaticFactoryBroker (  )  [inline]

Definition at line 137 of file StaticFactoryBroker.hpp.


Member Function Documentation

template<typename ELEMENT>
ELEMENT* wns::wns::StaticFactoryBroker< ELEMENT, Creator< ELEMENT > >::procure ( const std::string  name  )  [inline]

Definition at line 146 of file StaticFactoryBroker.hpp.


Member Data Documentation

template<typename ELEMENT>
Registry wns::wns::StaticFactoryBroker< ELEMENT, Creator< ELEMENT > >::registry [private]

Definition at line 132 of file StaticFactoryBroker.hpp.


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

Generated on Sat May 26 03:32:51 2012 for openWNS by  doxygen 1.5.5