NEOCCA bindings Specification  0.2.8
Public Member Functions | List of all members
neo::cca::ports::ComponentFactory Class Referenceabstract

NOT YET DEFINED IN CCA.SIDL: This is related to, but not the same as, cca ComponentRepository. More...

#include <ComponentFactory.hh>

Inheritance diagram for neo::cca::ports::ComponentFactory:
Inheritance graph
[legend]
Collaboration diagram for neo::cca::ports::ComponentFactory:
Collaboration graph
[legend]

Public Member Functions

virtual ~ComponentFactory ()
 
virtual std::vector< std::string > getComponentClassAliases ()=0
 Names of classes for which the associated factory can make instances. More...
 
virtual std::vector< ComponentClassDescription_sharedgetAvailableComponentClasses ()=0
 Descriptions of classes we know about. More...
 
virtual neo::cca::ComponentcreateComponentInstance (const std::string &classAlias)=0
 
virtual neo::cca::ComponentcreateComponentInstance (const std::string &classAlias, neo::cca::TypeMap_shared &properties)=0
 
virtual void destroyComponentInstance (const std::string &componentClassAlias, neo::cca::Component *component)=0
 
- Public Member Functions inherited from neo::cca::Port
virtual ~Port ()
 obligatory virtual destructor More...
 

Detailed Description

NOT YET DEFINED IN CCA.SIDL: This is related to, but not the same as, cca ComponentRepository.

Constructor & Destructor Documentation

◆ ~ComponentFactory()

virtual neo::cca::ports::ComponentFactory::~ComponentFactory ( )
inlinevirtual
18 {}

Member Function Documentation

◆ getComponentClassAliases()

virtual std::vector< std::string> neo::cca::ports::ComponentFactory::getComponentClassAliases ( )
pure virtual

Names of classes for which the associated factory can make instances.

The 'associated factory' is only accessible through BuilderService createInstance().

◆ getAvailableComponentClasses()

virtual std::vector< ComponentClassDescription_shared > neo::cca::ports::ComponentFactory::getAvailableComponentClasses ( )
pure virtual

Descriptions of classes we know about.

◆ createComponentInstance() [1/2]

virtual neo::cca::Component* neo::cca::ports::ComponentFactory::createComponentInstance ( const std::string &  classAlias)
pure virtual

◆ createComponentInstance() [2/2]

virtual neo::cca::Component* neo::cca::ports::ComponentFactory::createComponentInstance ( const std::string &  classAlias,
neo::cca::TypeMap_shared properties 
)
pure virtual

◆ destroyComponentInstance()

virtual void neo::cca::ports::ComponentFactory::destroyComponentInstance ( const std::string &  componentClassAlias,
neo::cca::Component component 
)
pure virtual

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