OpenDDS  Snapshot(2023/04/07-19:43)
Public Member Functions | List of all members
OpenDDS::DCPS::ReceivedDataElementWithType< DataTypeWithAllocator > Class Template Reference

#include <ReceivedDataElementList.h>

Inheritance diagram for OpenDDS::DCPS::ReceivedDataElementWithType< DataTypeWithAllocator >:
Inheritance graph
[legend]
Collaboration diagram for OpenDDS::DCPS::ReceivedDataElementWithType< DataTypeWithAllocator >:
Collaboration graph
[legend]

Public Member Functions

 ReceivedDataElementWithType (const DataSampleHeader &header, DataTypeWithAllocator *received_data, ACE_Recursive_Thread_Mutex *mx)
 
 ~ReceivedDataElementWithType ()
 
- Public Member Functions inherited from OpenDDS::DCPS::ReceivedDataElement
 ReceivedDataElement (const DataSampleHeader &header, void *received_data, ACE_Recursive_Thread_Mutex *mx)
 
virtual ~ReceivedDataElement ()
 
void dec_ref ()
 
void inc_ref ()
 
long ref_count ()
 
void * operator new (size_t size, ACE_New_Allocator &pool)
 
void operator delete (void *memory)
 
void operator delete (void *memory, ACE_New_Allocator &pool)
 

Additional Inherited Members

- Public Attributes inherited from OpenDDS::DCPS::ReceivedDataElement
GUID_t pub_
 
void *const registered_data_
 
DDS::SampleStateKind sample_state_
 
DDS::Time_t source_timestamp_
 Source time stamp for this data sample. More...
 
DDS::Time_t destination_timestamp_
 Reception time stamp for this data sample. More...
 
bool coherent_change_
 Sample belongs to an active coherent change set. More...
 
bool group_coherent_
 Sample belongs to a group coherent changes. More...
 
GUID_t publisher_id_
 Publisher id represent group identifier. More...
 
bool valid_data_
 Do we contain valid data. More...
 
size_t disposed_generation_count_
 
size_t no_writers_generation_count_
 
Atomic< long > zero_copy_cnt_
 
SequenceNumber sequence_
 The data sample's sequence number. More...
 
ReceivedDataElementprevious_data_sample_
 the previous data sample in the ReceivedDataElementList More...
 
ReceivedDataElementnext_data_sample_
 the next data sample in the ReceivedDataElementList More...
 
- Protected Attributes inherited from OpenDDS::DCPS::ReceivedDataElement
ACE_Recursive_Thread_Mutexmx_
 

Detailed Description

template<typename DataTypeWithAllocator>
class OpenDDS::DCPS::ReceivedDataElementWithType< DataTypeWithAllocator >

Definition at line 158 of file ReceivedDataElementList.h.

Constructor & Destructor Documentation

◆ ReceivedDataElementWithType()

template<typename DataTypeWithAllocator >
OpenDDS::DCPS::ReceivedDataElementWithType< DataTypeWithAllocator >::ReceivedDataElementWithType ( const DataSampleHeader header,
DataTypeWithAllocator *  received_data,
ACE_Recursive_Thread_Mutex mx 
)
inline

Definition at line 161 of file ReceivedDataElementList.h.

162  : ReceivedDataElement(header, received_data, mx)
163  {
164  }
Christopher Diggins *renamed files *fixing compilation errors *adding Visual C project file *removed make Max Lybbert *removed references to missing and unused header
Definition: CHANGELOG.txt:8
ReceivedDataElement(const DataSampleHeader &header, void *received_data, ACE_Recursive_Thread_Mutex *mx)

◆ ~ReceivedDataElementWithType()

template<typename DataTypeWithAllocator >
OpenDDS::DCPS::ReceivedDataElementWithType< DataTypeWithAllocator >::~ReceivedDataElementWithType ( )
inline

Definition at line 166 of file ReceivedDataElementList.h.

References ACE_GUARD.

166  {
168  guard,
169  *mx_)
170  delete static_cast<DataTypeWithAllocator*> (registered_data_);
171  }
#define ACE_GUARD(MUTEX, OBJ, LOCK)

The documentation for this class was generated from the following file: