SALOME documentation central

provides_port Class Reference

This class implements a DSC_User provides C++ port. More...

Inheritance diagram for provides_port:

Public Member Functions

virtual Ports::Port_ptr get_port_ref ()=0
virtual void provides_port_changed (int connection_nbr, const Engines::DSC::Message message)
virtual Ports::PortProperties_ptr get_port_properties ()

Protected Attributes

PortProperties_idefault_properties

Detailed Description

This class implements a DSC_User provides C++ port.

This class is base class for all DSC_User provides port. It's an abstract class.


Member Function Documentation

virtual Ports::Port_ptr provides_port::get_port_ref ( ) [pure virtual]

This method permits to get the CORBA reference of the port.

Returns:
port's CORBA reference.

Implemented in data_short_port_provides, palm_data_seq_short_port_provides, and palm_data_short_port_provides.

virtual void provides_port::provides_port_changed ( int  connection_nbr,
const Engines::DSC::Message  message 
) [inline, virtual]

This method is the callback called by the component to inform the provides port of a new or a removed connection.

Parameters:
connection_nbrcurrent connection number.
messagemessage associated with this connection.
Ports::PortProperties_ptr base_port::get_port_properties ( ) [virtual, inherited]

This is used to get the property object of the port.

Returns:
property's CORBA reference.