CoreDX DDS Modern C++ API
|
This class encapsulate and automates the management of loaned samples. More...
Public Member Functions | |
~LoanedSamples () | |
Implicitly return the loan. | |
LoanedSamples (const LoanedSamples &other) | |
Copies a LoanedSamples instance. More... | |
const_iterator | begin () const |
returns an iterator to the beginning | |
const_iterator | end () const |
returns an iterator to the end | |
const DELEGATE_REF_T & | delegate () const |
Obtain a const ref to the delegate that implements the API. | |
DELEGATE_REF_T & | delegate () |
Access the delegate that implements the API. | |
uint32_t | length () const |
returns the number of elements | |
DELEGATE< T >::Sample | operator[] (size_t index) |
access the specified element | |
void | return_loan () |
return the samples to the DataReader owner | |
This class encapsulate and automates the management of loaned samples.
dds::sub::LoanedSamples< T, DELEGATE >::LoanedSamples | ( | const LoanedSamples< T, DELEGATE > & | other | ) |
Copies a LoanedSamples instance.
No actual data samples are copied.
Just references and reference counts are updated.