|
Cyclone ISO C++ API Reference Guide
|
This class encapsulates and automates the management of loaned samples. More...
#include "SharedSamples.hpp"
Public Types | |
| typedef DELEGATE< T >::const_iterator | const_iterator |
| typedef T | DataType |
| typedef dds::core::smart_ptr_traits::ref_type | DELEGATE_REF_T |
Public Member Functions | |
| SharedSamples () | |
| SharedSamples (const SharedSamples &other) | |
| SharedSamples (dds::sub::LoanedSamples< T > ls) | |
| ~SharedSamples () | |
| const_iterator | begin () const |
| DELEGATE_REF_T & | delegate () |
| const DELEGATE_REF_T & | delegate () const |
| const_iterator | end () const |
| uint32_t | length () const |
This class encapsulates and automates the management of loaned samples.
Definition at line 49 of file SharedSamples.hpp.
| typedef DELEGATE<T>::const_iterator dds::sub::SharedSamples< T >::const_iterator |
Definition at line 53 of file SharedSamples.hpp.
| typedef T dds::sub::SharedSamples< T >::DataType |
Definition at line 52 of file SharedSamples.hpp.
| typedef dds::core::smart_ptr_traits::ref_type dds::sub::SharedSamples< T >::DELEGATE_REF_T |
Definition at line 55 of file SharedSamples.hpp.
| dds::sub::SharedSamples< T >::SharedSamples | ( | ) |
Constructs a SharedSamples instance.
| dds::sub::SharedSamples< T >::SharedSamples | ( | dds::sub::LoanedSamples< T > | 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 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 >::SharedSamples | ( | const SharedSamples< T > & | other | ) |
Copies a SharedSamples instance.
| dds::sub::SharedSamples< T >::~SharedSamples | ( | ) |
| const_iterator dds::sub::SharedSamples< T >::begin | ( | ) | const |
Gets an iterator pointing to the beginning of the samples.
| DELEGATE_REF_T& dds::sub::SharedSamples< T >::delegate | ( | ) |
Gets the delegate.
| const DELEGATE_REF_T& dds::sub::SharedSamples< T >::delegate | ( | ) | const |
Gets the delegate.
| const_iterator dds::sub::SharedSamples< T >::end | ( | ) | const |
Gets an iterator pointing to the beginning of the samples.
| uint32_t dds::sub::SharedSamples< T >::length | ( | ) | const |
Returns the number of samples.