Fast RTPS  Version 2.14.2
Fast RTPS
Loading...
Searching...
No Matches
LoanableSequence< fastrtps::types::DynamicData, _NonConstEnabler > Class Template Reference

LoanableSequence specialization for DynamicData. More...

#include <DynamicLoanableSequence.hpp>

Inheritance diagram for LoanableSequence< fastrtps::types::DynamicData, _NonConstEnabler >:

Public Types

using size_type = LoanableCollection::size_type
 Type for the size of the sequence.
 
using element_type = LoanableCollection::element_type
 Type for the elements in the sequence.
 

Public Member Functions

 LoanableSequence (fastrtps::types::DynamicType_ptr dyn_type)
 Construct a LoanableSequence with a specified dynamic type.
 
 LoanableSequence (size_type max)
 Construct a LoanableSequence with a specified maximum size.
 
 ~LoanableSequence ()
 Destructor for LoanableSequence.
 
 LoanableSequence (const LoanableSequence &)=delete
 Deleted copy constructor for LoanableSequence.
 
LoanableSequenceoperator= (const LoanableSequence &)=delete
 Deleted copy assignment operator for LoanableSequence.
 
 LoanableSequence (LoanableSequence &&)=default
 Move constructor for LoanableSequence.
 
LoanableSequenceoperator= (LoanableSequence &&)=default
 Move assignment operator for LoanableSequence.
 

Detailed Description

template<typename _NonConstEnabler>
class eprosima::fastdds::dds::LoanableSequence< fastrtps::types::DynamicData, _NonConstEnabler >

LoanableSequence specialization for DynamicData.

This class provides a sequence container for handling loanable collections of DynamicData.

Template Parameters
_NonConstEnablerto enable data access through [] operator on non-const sequences.

Member Typedef Documentation

◆ element_type

template<typename _NonConstEnabler >
using element_type = LoanableCollection::element_type

Type for the elements in the sequence.

◆ size_type

template<typename _NonConstEnabler >
using size_type = LoanableCollection::size_type

Type for the size of the sequence.

Constructor & Destructor Documentation

◆ LoanableSequence() [1/4]

template<typename _NonConstEnabler >
LoanableSequence ( fastrtps::types::DynamicType_ptr  dyn_type)
inline

Construct a LoanableSequence with a specified dynamic type.

Parameters
[in]dyn_typePointer to the DynamicType.

◆ LoanableSequence() [2/4]

template<typename _NonConstEnabler >
LoanableSequence ( size_type  max)
inline

Construct a LoanableSequence with a specified maximum size.

Parameters
[in]maxMaximum size of the sequence.

◆ ~LoanableSequence()

template<typename _NonConstEnabler >
~LoanableSequence ( )
inline

Destructor for LoanableSequence.

◆ LoanableSequence() [3/4]

template<typename _NonConstEnabler >
LoanableSequence ( const LoanableSequence< fastrtps::types::DynamicData, _NonConstEnabler > &  )
delete

Deleted copy constructor for LoanableSequence.

◆ LoanableSequence() [4/4]

template<typename _NonConstEnabler >
LoanableSequence ( LoanableSequence< fastrtps::types::DynamicData, _NonConstEnabler > &&  )
default

Move constructor for LoanableSequence.

Member Function Documentation

◆ operator=() [1/2]

template<typename _NonConstEnabler >
LoanableSequence & operator= ( const LoanableSequence< fastrtps::types::DynamicData, _NonConstEnabler > &  )
delete

Deleted copy assignment operator for LoanableSequence.

◆ operator=() [2/2]

template<typename _NonConstEnabler >
LoanableSequence & operator= ( LoanableSequence< fastrtps::types::DynamicData, _NonConstEnabler > &&  )
default

Move assignment operator for LoanableSequence.


The documentation for this class was generated from the following file: