RTI Connext Modern C++ API
Version 6.1.1
|
<<extension>> A functor that returns true when a sample has valid data. More...
#include <LoanedSamplesImpl.hpp>
Public Types | |
typedef LoanedSamples< T >::value_type | sample_type |
LoanedSample type. More... | |
Public Member Functions | |
bool | operator() (const sample_type &sample) |
Returns true if this sample contains valid data. More... | |
<<extension>> A functor that returns true when a sample has valid data.
This functor is useful in algorithms that iterate on LoanedSamples. For example:
A similar utility is the iterator valid_data().
typedef LoanedSamples<T>::value_type rti::sub::IsValidData< T >::sample_type |
LoanedSample type.
|
inline |
Returns true if this sample contains valid data.
That is, if sample.info()
.valid().