SALOME documentation central

data_short_port_uses Class Reference

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

Inheritance diagram for data_short_port_uses:
Inheritance graph

Public Member Functions

virtual const char * get_repository_id ()
virtual void put (CORBA::Short data)
virtual void uses_port_changed (Engines::DSC::uses_port *new_uses_port, 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

const char * data_short_port_uses::get_repository_id (  )  [virtual]

This method is used by the component to get port's CORBA repository id

Returns:
port's CORBA repository id

Implements uses_port.

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

This method is used by the component to send a short value to all the provides ports connected.

Parameters:
data the short sended.
void data_short_port_uses::uses_port_changed ( Engines::DSC::uses_port new_uses_port,
const Engines::DSC::Message  message 
) [virtual]

This method is a callback for be aware of modification of the port's connections.

Parameters:
new_uses_port the new uses port's sequence.
message message associated to the modification.

Implements uses_port.

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