Back to index

salome-kernel  6.5.0
Public Member Functions
port_factory Class Reference

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

#include <port_factory.hxx>

Inheritance diagram for port_factory:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~port_factory ()
virtual provides_portcreate_data_servant (std::string type)=0
 This method creates a provides port.
virtual uses_portcreate_data_proxy (std::string type)=0
 This method creates a uses port.

Detailed Description

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

Definition at line 37 of file port_factory.hxx.


Constructor & Destructor Documentation

virtual port_factory::~port_factory ( ) [inline, virtual]

Definition at line 39 of file port_factory.hxx.

{}

Member Function Documentation

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.

Here is the caller graph for this function:

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.

Here is the caller graph for this function:


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