Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

IDEA::AgentTimingServiceFactory Class Reference

#include <AgentTimingServiceFactory.hh>

Inheritance diagram for IDEA::AgentTimingServiceFactory:

IDEA::Factory< AgentTimingServiceFactory > IDEA::SharedTimingServiceFactory List of all members.

Public Methods

virtual ~AgentTimingServiceFactory ()
 Destructor.

virtual AgentTimingServiceImplcreateAgentTimingServiceImpl (const std::string &agentName, const std::string &poolname) const=0
 Creates an AgentTimingServiceImpl instance by the name agentName usnig (memory) pool by the name poolname.

const std::string & getKey () const
 Returns the key of the invoking Factory.


Static Public Methods

void useKey (const std::string &key)
 Sets the key to use to return the instance, see Factory::instance.

const AgentTimingServiceFactory * instance ()
 Returns the instance with key Factory::getUseKey. If no such key exists 0 is returned.


Protected Methods

 AgentTimingServiceFactory (const std::string &name)
 Constructor.


Private Methods

 AgentTimingServiceFactory ()
 Default constructor, not implemented by design.


Constructor & Destructor Documentation

IDEA::AgentTimingServiceFactory::~AgentTimingServiceFactory   [virtual]
 

Destructor.

IDEA::AgentTimingServiceFactory::AgentTimingServiceFactory const std::string &    name [protected]
 

Constructor.

IDEA::AgentTimingServiceFactory::AgentTimingServiceFactory   [private]
 

Default constructor, not implemented by design.


Member Function Documentation

virtual AgentTimingServiceImpl* IDEA::AgentTimingServiceFactory::createAgentTimingServiceImpl const std::string &    agentName,
const std::string &    poolname
const [pure virtual]
 

Creates an AgentTimingServiceImpl instance by the name agentName usnig (memory) pool by the name poolname.

Implemented in IDEA::SharedTimingServiceFactory.

const std::string& IDEA::Factory< AgentTimingServiceFactory >::getKey   const [inline, inherited]
 

Returns the key of the invoking Factory.

const AgentTimingServiceFactory* IDEA::Factory< AgentTimingServiceFactory >::instance   [inline, static, inherited]
 

Returns the instance with key Factory::getUseKey. If no such key exists 0 is returned.

void IDEA::Factory< AgentTimingServiceFactory >::useKey const std::string &    key [inline, static, inherited]
 

Sets the key to use to return the instance, see Factory::instance.


Contact information
© IDEA
Generated on Fri Feb 3 17:09:45 2006 for IDEA.