This class a port that sends a CORBA short with the basic port policy. More...
#include <data_short_port_provides.hxx>
Public Member Functions | |
data_short_port_provides () | |
virtual | ~data_short_port_provides () |
virtual void | put (CORBA::Short data) |
This method implements the CORBA method of the interface. More... | |
virtual CORBA::Short | get () |
This method is used by the component to get the last value received. More... | |
virtual Ports::Port_ptr | get_port_ref () |
This method gives the port CORBA reference. More... | |
virtual void | provides_port_changed (int connection_nbr, const Engines::DSC::Message message) |
This method is the callback called by the component to inform the provides port of a new or a removed connection. More... | |
virtual Ports::PortProperties_ptr | get_port_properties () |
This is used to get the property object of the port. More... | |
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 |
This class a port that sends a CORBA short with the basic port policy.
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.
|
virtual |
References short_condition, short_condition_cp, short_mutex, and short_mutex_cp.
|
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.
|
virtualinherited |
This is used to get the property object of the port.
References base_port::default_properties.
|
virtual |
This method gives the port CORBA reference.
Implements provides_port.
|
virtualinherited |
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. |
|
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.
|
private |
Referenced by data_short_port_provides(), get(), and put().
|
protectedinherited |
Referenced by base_port::base_port(), base_port::get_port_properties(), and base_port::~base_port().
|
private |
Referenced by data_short_port_provides(), get(), put(), and ~data_short_port_provides().
|
private |
Referenced by data_short_port_provides(), get(), put(), and ~data_short_port_provides().
|
private |
Referenced by data_short_port_provides(), get(), put(), and ~data_short_port_provides().
|
private |
Referenced by data_short_port_provides(), get(), put(), and ~data_short_port_provides().
|
private |
Referenced by data_short_port_provides(), get(), and put().
|
private |
Referenced by data_short_port_provides(), get(), and put().