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


Public Member Functions | |
| data_short_port_provides () | |
| virtual | ~data_short_port_provides () |
| 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_i * | default_properties |
Private Attributes | |
| CORBA::Short | _val |
| pthread_mutex_t * | short_mutex |
| pthread_cond_t * | short_condition |
| bool | short_termine |
| pthread_mutex_t * | short_mutex_cp |
| pthread_cond_t * | short_condition_cp |
| bool | short_termine_cp |
| data_short_port_provides::data_short_port_provides | ( | ) |
References _val, short_condition, short_condition_cp, short_mutex, short_mutex_cp, short_termine, and short_termine_cp.
| data_short_port_provides::~data_short_port_provides | ( | ) | [virtual] |
References short_condition, short_condition_cp, short_mutex, and short_mutex_cp.
| void data_short_port_provides::put | ( | CORBA::Short | data | ) | [virtual] |
This method implements the CORBA method of the interface.
References _val, short_condition, short_condition_cp, short_mutex, short_mutex_cp, short_termine, and short_termine_cp.
| CORBA::Short data_short_port_provides::get | ( | ) | [virtual] |
This method is used by the component to get the last value received.
References _val, short_condition, short_condition_cp, short_mutex, short_mutex_cp, short_termine, and short_termine_cp.
| Ports::Port_ptr data_short_port_provides::get_port_ref | ( | ) | [virtual] |
This method gives the port 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.
| 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.
References base_port::default_properties.
CORBA::Short data_short_port_provides::_val [private] |
pthread_mutex_t* data_short_port_provides::short_mutex [private] |
pthread_cond_t* data_short_port_provides::short_condition [private] |
bool data_short_port_provides::short_termine [private] |
pthread_mutex_t* data_short_port_provides::short_mutex_cp [private] |
pthread_cond_t* data_short_port_provides::short_condition_cp [private] |
PortProperties_i* base_port::default_properties [protected, inherited] |