SALOME documentation central

port_factory Class Reference

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:

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

provides_port * palm_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 basic_port_factory, calcium_port_factory, and palm_port_factory.

uses_port * palm_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.