Version: 8.3.0
data_short_port_uses Class Reference

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

#include <data_short_port_uses.hxx>

Inheritance diagram for data_short_port_uses:

Public Member Functions

 data_short_port_uses ()
 
virtual ~data_short_port_uses ()
 
virtual const charget_repository_id ()
 This method is used by the component to get port's CORBA repository id. More...
 
virtual void put (CORBA::Short data)
 This method is used by the component to send a short value to all the provides ports connected. More...
 
virtual void uses_port_changed (Engines::DSC::uses_port *new_uses_port, const Engines::DSC::Message message)
 This method is a callback for be aware of modification of the port's connections. More...
 
virtual Ports::PortProperties_ptr get_port_properties ()
 This is used to get the property object of the port. More...
 

Protected Attributes

PortProperties_idefault_properties
 

Private Attributes

Engines::DSC::uses_port_my_ports
 

Detailed Description

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

Constructor & Destructor Documentation

data_short_port_uses::data_short_port_uses ( )

References _my_ports.

data_short_port_uses::~data_short_port_uses ( )
virtual

Member Function Documentation

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.

References base_port::default_properties.

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.

References _my_ports.

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.

References _my_ports.

Field Documentation

Engines::DSC::uses_port* data_short_port_uses::_my_ports
private
PortProperties_i* base_port::default_properties
protectedinherited