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

IDEA::PlasmaAgentFactory Class Reference
[Agent implementation using EUROPA-2]

Factory class for an Agent creating a PlasmaAgentImpl. More...

#include <PlasmaAgentFactory.hh>

Inheritance diagram for IDEA::PlasmaAgentFactory:

IDEA::AgentFactory IDEA::Factory< AgentFactory > List of all members.

Public Methods

 PlasmaAgentFactory ()
 Constructor.

AgentImplcreateAgentImpl () const
 Returns an instance of PlasmaAgentImpl.

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 AgentFactoryinstance ()
 Returns the instance with key Factory::getUseKey. If no such key exists 0 is returned.


Detailed Description

Factory class for an Agent creating a PlasmaAgentImpl.

Author:
David Rijsman rijsman@email.arc.nasa.gov


Constructor & Destructor Documentation

IDEA::PlasmaAgentFactory::PlasmaAgentFactory  
 

Constructor.


Member Function Documentation

AgentImpl * IDEA::PlasmaAgentFactory::createAgentImpl   [virtual]
 

Returns an instance of PlasmaAgentImpl.

Implements IDEA::AgentFactory.

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

Returns the key of the invoking Factory.

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

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

void IDEA::Factory< AgentFactory >::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:46 2006 for IDEA.