User Manual, Developers Guide and API Documentation

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

#include <StaticFactoryBroker.hpp>

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

ELEMENT * procure (const std::string name, const pyconfig::View &pyco)
 Returns pyco configured object specified by name.
 ~StaticFactoryBroker ()
 Will delete all elements.

Private Types

typedef container::Registry
< RegistryKey, ELEMENT
*, container::registry::DeleteOnErase
Registry
 Store objects created from pyconfig::View.

Private Attributes

Registry registry
 ELEMENTs are stored here.

Classes

class  RegistryKey
 The keys for Registry. More...


Detailed Description

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

Definition at line 54 of file StaticFactoryBroker.hpp.


Member Typedef Documentation

template<typename ELEMENT>
typedef container::Registry<RegistryKey, ELEMENT*, container::registry::DeleteOnErase> wns::wns::StaticFactoryBroker< ELEMENT, PyConfigViewCreator< ELEMENT > >::Registry [private]

Definition at line 80 of file StaticFactoryBroker.hpp.


Constructor & Destructor Documentation

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

Definition at line 89 of file StaticFactoryBroker.hpp.


Member Function Documentation

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

Definition at line 97 of file StaticFactoryBroker.hpp.


Member Data Documentation

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

Definition at line 84 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