Version: 8.3.0
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
port_factory Class Referenceabstract

This class is an abstract for all the DSC ports factories that have to be registered into the component. More...

Inheritance diagram for port_factory:
Inheritance graph

Public Member Functions

virtual provides_portcreate_data_servant (std::string type)=0
 
virtual uses_portcreate_data_proxy (std::string type)=0
 

Detailed Description

This class is an abstract for all the DSC ports factories that have to be registered into the component.

Member Function Documentation

virtual provides_port* port_factory::create_data_servant ( std::string  type)
pure virtual

This method creates a provides port.

Parameters
typeport's type.
Returns
a pointer of the provides port.

Implemented in calcium_port_factory, basic_port_factory, and palm_port_factory.

virtual uses_port* port_factory::create_data_proxy ( std::string  type)
pure virtual

This method creates a uses port.

Parameters
typeport's type.
Returns
a pointer of the uses port.

Implemented in basic_port_factory, calcium_port_factory, and palm_port_factory.