Version: 8.3.0
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
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
datathe 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_portthe new uses port's sequence.
messagemessage associated to the modification.

Implements uses_port.

Ports::PortProperties_ptr base_port::get_port_properties ( )
virtualinherited

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

Returns
property's CORBA reference.