This class a port that sends a CORBA short with the basic port policy.
#include <data_short_port_uses.hxx>


Public Member Functions | |
| data_short_port_uses () | |
| virtual | ~data_short_port_uses () |
| 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_i * | default_properties |
Private Attributes | |
| Engines::DSC::uses_port * | _my_ports |
| data_short_port_uses::data_short_port_uses | ( | ) |
References _my_ports.
| data_short_port_uses::~data_short_port_uses | ( | ) | [virtual] |
| const char * data_short_port_uses::get_repository_id | ( | ) | [virtual] |
This method is used by the component to get 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.
| data | the 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.
| new_uses_port | the new uses port's sequence. |
| message | message associated to the modification. |
Implements uses_port.
References _my_ports, and uses_port::uses_port().
| Ports::PortProperties_ptr base_port::get_port_properties | ( | ) | [virtual, inherited] |
This is used to get the property object of the port.
References base_port::default_properties.
Engines::DSC::uses_port* data_short_port_uses::_my_ports [private] |
PortProperties_i* base_port::default_properties [protected, inherited] |