RTI Routing Service  Version 7.0.0
rti::routing::processor::Input Class Reference

Generic Representation of a Route's input. More...

#include <Input.hpp>

Public Member Functions

template<typename Data , typename Info >
TypedInput< Data, Info > get ()
 Returns a typed version of this Input. More...
 
template<typename Data >
TypedInput< Data, dds::sub::SampleInfo > get ()
 Returns a typed version of this Input. More...
 

Detailed Description

Generic Representation of a Route's input.

This class provides a base representation of the inputs contained in a Route. Since it is generic, this object does not allow you to perform any operation that requires dealing with the data provided by the underlying rti::routing::adapter::StreamReader.

Member Function Documentation

◆ get() [1/2]

template<typename Data , typename Info >
TypedInput<Data, Info> rti::routing::processor::Input::get ( )
inline

Returns a typed version of this Input.

Note: This operation is not type-safe. It is the caller's responsibility to use the appropriate type.

See also
TypedInput
TypedInput<DataRep, Info> Route<DataRep, InfoRep>::input(int32_t index)

◆ get() [2/2]

template<typename Data >
TypedInput<Data, dds::sub::SampleInfo> rti::routing::processor::Input::get ( )
inline

Returns a typed version of this Input.

Note: This operation is not type-safe. It is the caller's responsibility to use the appropriate type.

See also
TypedInput
TypedInput<DataRep, dds::sub::SampleInfo> Route<DataRep>::input(int32_t index)