Version: 8.3.0
GenericPort< DataManipulator, COUPLING_POLICY > Class Template Reference

#include <GenericPort.hxx>

Inheritance diagram for GenericPort< DataManipulator, COUPLING_POLICY >:

Public Types

typedef DataManipulator::Type DataType
 
typedef
DataManipulator::CorbaInType 
CorbaInDataType
 

Public Member Functions

 GenericPort ()
 
virtual ~GenericPort ()
 
template<typename TimeType , typename TagType >
void put (CorbaInDataType data, TimeType time, TagType tag)
 
template<typename TimeType , typename TagType >
DataType get (TimeType time, TagType tag)
 
template<typename TimeType , typename TagType >
DataType get (TimeType &ti, TimeType tf, TagType tag=0)
 
template<typename TimeType , typename TagType >
DataType next (TimeType &t, TagType &tag)
 
void close (PortableServer::POA_var poa, PortableServer::ObjectId_var id)
 
void wakeupWaiting ()
 
template<typename TimeType , typename TagType >
void erase (TimeType time, TagType tag, bool before)
 
template<typename TimeType , typename TagType >
DataManipulator::Type get (TimeType time, TagType tag)
 
template<typename TimeType , typename TagType >
DataManipulator::Type get (TimeType &ti, TimeType tf, TagType tag)
 
template<typename TimeType , typename TagType >
DataManipulator::Type next (TimeType &t, TagType &tag)
 

Private Types

typedef COUPLING_POLICY::DataId DataId
 
typedef std::map< DataId,
DataType
DataTable
 

Private Attributes

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

Member Typedef Documentation

template<typename DataManipulator, class COUPLING_POLICY>
typedef DataManipulator::CorbaInType GenericPort< DataManipulator, COUPLING_POLICY >::CorbaInDataType
template<typename DataManipulator, class COUPLING_POLICY>
typedef COUPLING_POLICY::DataId GenericPort< DataManipulator, COUPLING_POLICY >::DataId
private
template<typename DataManipulator, class COUPLING_POLICY>
typedef std::map< DataId, DataType> GenericPort< DataManipulator, COUPLING_POLICY >::DataTable
private
template<typename DataManipulator, class COUPLING_POLICY>
typedef DataManipulator::Type GenericPort< DataManipulator, COUPLING_POLICY >::DataType

Constructor & Destructor Documentation

template<typename DataManipulator , typename COUPLING_POLICY >
GenericPort< DataManipulator, COUPLING_POLICY >::GenericPort ( )
template<typename DataManipulator , typename COUPLING_POLICY >
GenericPort< DataManipulator, COUPLING_POLICY >::~GenericPort ( )
virtual

Member Function Documentation

template<typename DataManipulator , typename COUPLING_POLICY >
void GenericPort< DataManipulator, COUPLING_POLICY >::close ( PortableServer::POA_var  poa,
PortableServer::ObjectId_var  id 
)
template<typename DataManipulator , typename COUPLING_POLICY >
template<typename TimeType , typename TagType >
void GenericPort< DataManipulator, COUPLING_POLICY >::erase ( TimeType  time,
TagType  tag,
bool  before 
)
template<typename DataManipulator, class COUPLING_POLICY>
template<typename TimeType , typename TagType >
DataType GenericPort< DataManipulator, COUPLING_POLICY >::get ( TimeType  time,
TagType  tag 
)
template<typename DataManipulator, class COUPLING_POLICY>
template<typename TimeType , typename TagType >
DataType GenericPort< DataManipulator, COUPLING_POLICY >::get ( TimeType ti,
TimeType  tf,
TagType  tag = 0 
)
template<typename DataManipulator, class COUPLING_POLICY>
template<typename TimeType , typename TagType >
DataManipulator::Type GenericPort< DataManipulator, COUPLING_POLICY >::get ( TimeType  time,
TagType  tag 
)
template<typename DataManipulator, class COUPLING_POLICY>
template<typename TimeType , typename TagType >
DataManipulator::Type GenericPort< DataManipulator, COUPLING_POLICY >::get ( TimeType ti,
TimeType  tf,
TagType  tag 
)
template<typename DataManipulator, class COUPLING_POLICY>
template<typename TimeType , typename TagType >
DataType GenericPort< DataManipulator, COUPLING_POLICY >::next ( TimeType t,
TagType tag 
)
template<typename DataManipulator, class COUPLING_POLICY>
template<typename TimeType , typename TagType >
DataManipulator::Type GenericPort< DataManipulator, COUPLING_POLICY >::next ( TimeType t,
TagType tag 
)
template<typename DataManipulator , typename COUPLING_POLICY >
template<typename TimeType , typename TagType >
void GenericPort< DataManipulator, COUPLING_POLICY >::put ( CorbaInDataType  data,
TimeType  time,
TagType  tag 
)
template<typename DataManipulator , typename COUPLING_POLICY >
void GenericPort< DataManipulator, COUPLING_POLICY >::wakeupWaiting ( )

Field Documentation

template<typename DataManipulator, class COUPLING_POLICY>
omni_condition GenericPort< DataManipulator, COUPLING_POLICY >::cond_instance
private
template<typename DataManipulator, class COUPLING_POLICY>
DataId GenericPort< DataManipulator, COUPLING_POLICY >::expectedDataId
private
template<typename DataManipulator, class COUPLING_POLICY>
DataId GenericPort< DataManipulator, COUPLING_POLICY >::lastDataId
private
template<typename DataManipulator, class COUPLING_POLICY>
bool GenericPort< DataManipulator, COUPLING_POLICY >::lastDataIdSet
private
template<typename DataManipulator, class COUPLING_POLICY>
DataTable GenericPort< DataManipulator, COUPLING_POLICY >::storedDatas
private
template<typename DataManipulator, class COUPLING_POLICY>
omni_mutex GenericPort< DataManipulator, COUPLING_POLICY >::storedDatas_mutex
private
template<typename DataManipulator, class COUPLING_POLICY>
bool GenericPort< DataManipulator, COUPLING_POLICY >::waitingForAnyDataId
private
template<typename DataManipulator, class COUPLING_POLICY>
bool GenericPort< DataManipulator, COUPLING_POLICY >::waitingForConvenientDataId
private