RTI Connext Modern C++ API  Version 5.3.1
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
rti::sub::SharedSamples< T > Class Template Reference

Provides access to a collection of middleware-loaned samples. More...

#include <SharedSamplesImpl.hpp>

Public Types

typedef SampleIterator< T > iterator
 The iterator type.
 

Detailed Description

template<typename T>
class rti::sub::SharedSamples< T >

Provides access to a collection of middleware-loaned samples.

The samples in this container are loaned from the middleware and must be returned at some point.

To return the loan, use dds::sub::LoanedSamples::return_loan

The contents of this container should not be modified and references to the samples it contains are only valid before the loan is returned.

Template Parameters
TThe data type of the contained Samples

Member Typedef Documentation

template<typename T>
typedef SampleIterator<T> rti::sub::SharedSamples< T >::iterator

The iterator type.


RTI Connext Modern C++ API Version 5.3.1 Copyright © Mon Feb 19 2018 Real-Time Innovations, Inc