Version: 9.15.0
palm_data_short_port_provides Class Reference

#include <palm_data_short_port_provides.hxx>

Inheritance diagram for palm_data_short_port_provides:

Public Types

typedef DataManipulator::Type DataType
 
typedef DataManipulator::CorbaInType CorbaInDataType
 
typedef CORBA::Long TimeType
 
typedef CORBA::Long TagType
 
typedef InternalDataIdContainer< TimeType, TagTypeDataIdContainer
 

Public Member Functions

 palm_data_short_port_provides ()
 
virtual ~palm_data_short_port_provides ()
 
void put (DataManipulator::CorbaInType data, CORBA::Long time, CORBA::Long tag)
 
virtual Ports::Port_ptr get_port_ref ()
 This method permits to get the CORBA reference of the port. More...
 
virtual void provides_port_changed (int, const Engines::DSC::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...
 
void put (CorbaInDataType data, TimeType time, TagType tag)
 
DataType get (TimeType time, TagType tag)
 
DataType get (TimeType &ti, TimeType tf, TagType tag=0)
 
DataManipulator::Type get (TimeType time, TagType tag)
 
DataManipulator::Type get (TimeType &ti, TimeType tf, TagType tag)
 
DataType next (TimeType &t, TagType &tag)
 
DataManipulator::Type next (TimeType &t, TagType &tag)
 
void close (PortableServer::POA_var poa, PortableServer::ObjectId_var id)
 
void wakeupWaiting ()
 
void erase (TimeType time, TagType tag, bool before)
 
filtre_conversionget_filtre_convert_TIME ()
 
filtre_conversionget_filtre_convert_TAG ()
 
TimeType getTime (const DataId &dataId) const
 
TagType getTag (const DataId &dataId) const
 
template<typename Container >
bool isDataIdConveniant (Container &storedDatas, const typename Container::key_type &expectedDataId, bool &isEqual, bool &isBounded, typename Container::iterator &wDataIt1) const
 

Protected Attributes

PortProperties_idefault_properties
 

Private Types

typedef CORBA::Short CorbaDataType
 
typedef atom_manipulation< CorbaDataTypeDataManipulator
 
typedef GenericPort< DataManipulator, PalmCouplingPolicyPort
 
typedef COUPLING_POLICY::DataId DataId
 
typedef std::map< DataId, DataTypeDataTable
 

Private Attributes

DataTable storedDatas
 
bool waitingForConvenientDataId
 
bool waitingForAnyDataId
 
DataId expectedDataId
 
DataId lastDataId
 
bool lastDataIdSet
 
omni_mutex storedDatas_mutex
 
omni_condition cond_instance
 
filtre_conversion filtre_convert_TIME
 
filtre_conversion filtre_convert_TAG
 

Member Typedef Documentation

◆ CorbaDataType

typedef CORBA::Short palm_data_short_port_provides::CorbaDataType
private

◆ CorbaInDataType

◆ DataId

typedef COUPLING_POLICY::DataId GenericPort< atom_manipulation< CORBA::Short > , PalmCouplingPolicy >::DataId
privateinherited

◆ DataIdContainer

◆ DataManipulator

◆ DataTable

typedef std::map< DataId, DataType> GenericPort< atom_manipulation< CORBA::Short > , PalmCouplingPolicy >::DataTable
privateinherited

◆ DataType

◆ Port

◆ TagType

typedef CORBA::Long PalmCouplingPolicy::TagType
inherited

◆ TimeType

typedef CORBA::Long PalmCouplingPolicy::TimeType
inherited

Constructor & Destructor Documentation

◆ palm_data_short_port_provides()

palm_data_short_port_provides::palm_data_short_port_provides ( )

◆ ~palm_data_short_port_provides()

virtual palm_data_short_port_provides::~palm_data_short_port_provides ( )
virtual

Member Function Documentation

◆ close()

void GenericPort< atom_manipulation< CORBA::Short > , PalmCouplingPolicy >::close ( PortableServer::POA_var  poa,
PortableServer::ObjectId_var  id 
)
inherited

◆ erase()

void GenericPort< atom_manipulation< CORBA::Short > , PalmCouplingPolicy >::erase ( TimeType  time,
TagType  tag,
bool  before 
)
inherited

◆ get() [1/4]

DataManipulator::Type GenericPort< atom_manipulation< CORBA::Short > , PalmCouplingPolicy >::get ( TimeType ti,
TimeType  tf,
TagType  tag 
)
inherited

◆ get() [2/4]

DataType GenericPort< atom_manipulation< CORBA::Short > , PalmCouplingPolicy >::get ( TimeType ti,
TimeType  tf,
TagType  tag = 0 
)
inherited

◆ get() [3/4]

DataType GenericPort< atom_manipulation< CORBA::Short > , PalmCouplingPolicy >::get ( TimeType  time,
TagType  tag 
)
inherited

◆ get() [4/4]

DataManipulator::Type GenericPort< atom_manipulation< CORBA::Short > , PalmCouplingPolicy >::get ( TimeType  time,
TagType  tag 
)
inherited

◆ get_filtre_convert_TAG()

filtre_conversion* PalmCouplingPolicy::get_filtre_convert_TAG ( )
inherited

◆ get_filtre_convert_TIME()

filtre_conversion* PalmCouplingPolicy::get_filtre_convert_TIME ( )
inherited

◆ get_port_properties()

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.

◆ get_port_ref()

virtual Ports::Port_ptr palm_data_short_port_provides::get_port_ref ( )
virtual

This method permits to get the CORBA reference of the port.

Returns
port's CORBA reference.

Implements provides_port.

◆ getTag()

TagType PalmCouplingPolicy::getTag ( const DataId dataId) const
inherited

◆ getTime()

TimeType PalmCouplingPolicy::getTime ( const DataId dataId) const
inherited

◆ isDataIdConveniant()

template<typename Container >
bool CouplingPolicy::isDataIdConveniant ( Container &  storedDatas,
const typename Container::key_type &  expectedDataId,
bool isEqual,
bool isBounded,
typename Container::iterator &  wDataIt1 
) const
inherited

◆ next() [1/2]

DataType GenericPort< atom_manipulation< CORBA::Short > , PalmCouplingPolicy >::next ( TimeType t,
TagType tag 
)
inherited

◆ next() [2/2]

DataManipulator::Type GenericPort< atom_manipulation< CORBA::Short > , PalmCouplingPolicy >::next ( TimeType t,
TagType tag 
)
inherited

◆ provides_port_changed()

virtual void provides_port::provides_port_changed ( int  ,
const Engines::DSC::Message   
)
virtualinherited

This method is the callback called by the component to inform the provides port of a new or a removed connection.

Parameters
connection_nbrcurrent connection number.
messagemessage associated with this connection.

◆ put() [1/2]

void GenericPort< atom_manipulation< CORBA::Short > , PalmCouplingPolicy >::put ( CorbaInDataType  data,
TimeType  time,
TagType  tag 
)
inherited

◆ put() [2/2]

void palm_data_short_port_provides::put ( DataManipulator::CorbaInType  data,
CORBA::Long  time,
CORBA::Long  tag 
)

◆ wakeupWaiting()

void GenericPort< atom_manipulation< CORBA::Short > , PalmCouplingPolicy >::wakeupWaiting
virtualinherited

Reimplemented from CouplingPolicy.

Field Documentation

◆ cond_instance

omni_condition GenericPort< atom_manipulation< CORBA::Short > , PalmCouplingPolicy >::cond_instance
privateinherited

◆ default_properties

PortProperties_i* base_port::default_properties
protectedinherited

◆ expectedDataId

DataId GenericPort< atom_manipulation< CORBA::Short > , PalmCouplingPolicy >::expectedDataId
privateinherited

◆ filtre_convert_TAG

◆ filtre_convert_TIME

◆ lastDataId

DataId GenericPort< atom_manipulation< CORBA::Short > , PalmCouplingPolicy >::lastDataId
privateinherited

◆ lastDataIdSet

bool GenericPort< atom_manipulation< CORBA::Short > , PalmCouplingPolicy >::lastDataIdSet
privateinherited

◆ storedDatas

DataTable GenericPort< atom_manipulation< CORBA::Short > , PalmCouplingPolicy >::storedDatas
privateinherited

◆ storedDatas_mutex

omni_mutex GenericPort< atom_manipulation< CORBA::Short > , PalmCouplingPolicy >::storedDatas_mutex
privateinherited

◆ waitingForAnyDataId

bool GenericPort< atom_manipulation< CORBA::Short > , PalmCouplingPolicy >::waitingForAnyDataId
privateinherited

◆ waitingForConvenientDataId

bool GenericPort< atom_manipulation< CORBA::Short > , PalmCouplingPolicy >::waitingForConvenientDataId
privateinherited