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:
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:
type port's type.
Returns:
a pointer of the provides port.

Implemented in basic_port_factory, calcium_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:
type port's type.
Returns:
a pointer of the uses port.

Implemented in basic_port_factory, calcium_port_factory, and palm_port_factory.


Copyright © 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS