SALOME documentation central

data_short_port_provides Class Reference

This class a port that sends a CORBA short with the basic port policy. More...

Inheritance diagram for data_short_port_provides:
Inheritance graph

Public Member Functions

virtual void put (CORBA::Short data)
virtual CORBA::Short get ()
virtual Ports::Port_ptr get_port_ref ()
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 a port that sends a CORBA short with the basic port policy.


Member Function Documentation

void data_short_port_provides::put ( CORBA::Short  data  )  [virtual]

This method implements the CORBA method of the interface.

See also:
Ports::Data_Short_Port::put
CORBA::Short data_short_port_provides::get (  )  [virtual]

This method is used by the component to get the last value received.

Returns:
the last value received (default 0).
Ports::Port_ptr data_short_port_provides::get_port_ref (  )  [virtual]

This method gives the port CORBA reference.

Returns:
port's CORBA reference.

Implements provides_port.

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

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

Parameters:
connection_nbr current connection number.
message message 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.

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