SALOME documentation central

basic_port_factory Class Reference

This class is an example of factory for DSC_User ports. More...

Inheritance diagram for basic_port_factory:
Inheritance graph

Public Member Functions

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

Detailed Description

This class is an example of factory for DSC_User ports.

This class implements the methods to be able to be used by Superv_Component_i. It builds basic ports.


Member Function Documentation

virtual provides_port* basic_port_factory::create_data_servant ( std::string  type  )  [virtual]

This method creates a provides port of Basic ports.

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

Implements port_factory.

virtual uses_port* basic_port_factory::create_data_proxy ( std::string  type  )  [virtual]

This method creates a uses port of Basic ports.

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

Implements 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