| DDS-PSM-C++ 1.0 ISO C++ API for OpenSplice DDS |
#include <SharedSamples.hpp>

Public Types | |
| typedef DELEGATE< T > ::const_iterator | const_iterator |
| typedef T | DataType |
| typedef DELEGATE< T >::iterator | iterator |
Public Member Functions | |
| SharedSamples (LoanedSamples ls) | |
| ~SharedSamples () | |
| const_iterator | begin () const |
| const DELEGATE_REF_T & | delegate () const |
| DELEGATE_REF_T & | delegate () |
| const_iterator | end () const |
| uint32_t | length () const |
Public Member Functions inherited from dds::core::Reference< DELEGATE< T > > | |
| Reference (dds::core::null_type &) | |
| Reference (const Reference &ref) | |
| Reference (const Reference< D > &ref) | |
| Reference (DELEGATE_T *p) | |
| ~Reference () | |
| const DELEGATE_REF_T & | delegate () const |
| DELEGATE_REF_T & | delegate () |
| bool | is_nil () const |
| operator const DELEGATE_REF_T & () const | |
| operator DELEGATE_REF_T () const | |
| operator DELEGATE_REF_T & () | |
| bool | operator!= (const R &ref) const |
| bool | operator!= (const null_type nil) const |
| DELEGATE< T > * | operator-> () |
| const DELEGATE< T > * | operator-> () const |
| Reference & | operator= (const Reference< D > &that) |
| Reference & | operator= (const R &rhs) |
| Reference & | operator= (const null_type) |
| bool | operator== (const R &ref) const |
| bool | operator== (const null_type) const |
Additional Inherited Members | |
Protected Attributes inherited from dds::core::Reference< DELEGATE< T > > | |
| DELEGATE_REF_T | impl_ |
The class SharedSamples is used as a container safe and sharable version of the LoanedSamples class.
Definition at line 26 of file SharedSamples.hpp.
| typedef DELEGATE<T>::const_iterator dds::sub::SharedSamples< T, DELEGATE >::const_iterator |
Definition at line 31 of file SharedSamples.hpp.
| typedef T dds::sub::SharedSamples< T, DELEGATE >::DataType |
Definition at line 29 of file SharedSamples.hpp.
| typedef DELEGATE<T>::iterator dds::sub::SharedSamples< T, DELEGATE >::iterator |
Definition at line 30 of file SharedSamples.hpp.
| dds::sub::SharedSamples< T, DELEGATE >::SharedSamples | ( | LoanedSamples | ls | ) |
Constructs an instance of SharedSamples and removes the ownership of the loan from the LoanedSamples. As a result the destruction of the LoanedSamples object or the explicit invocation of its method return_loan will have no effect on loaned data. Loaned data will be returned automatically once the delegate of this reference type will have a zero reference count.
| ls | the loaned samples. |
| dds::sub::SharedSamples< T, DELEGATE >::~SharedSamples | ( | ) |
| const_iterator dds::sub::SharedSamples< T, DELEGATE >::begin | ( | ) | const |
| const DELEGATE_REF_T& dds::sub::SharedSamples< T, DELEGATE >::delegate | ( | ) | const |
| DELEGATE_REF_T& dds::sub::SharedSamples< T, DELEGATE >::delegate | ( | ) |
| const_iterator dds::sub::SharedSamples< T, DELEGATE >::end | ( | ) | const |
| uint32_t dds::sub::SharedSamples< T, DELEGATE >::length | ( | ) | const |
1.8.2