Class TypeLookupManager

Class Documentation

class TypeLookupManager

Class TypeLookupManager that implements the TypeLookup Service described in the DDS-XTYPES 1.2 specification.

Public Functions

TypeLookupManager(fastrtps::rtps::BuiltinProtocols *prot)

Constructor

Parameters:

prot – Pointer to the BuiltinProtocols object.

virtual ~TypeLookupManager()
bool init_typelookup_service(fastrtps::rtps::RTPSParticipantImpl *p)

Initialize the TypeLookupManager protocol.

Parameters:

p – Pointer to the RTPS participant implementation.

Returns:

true if the initialziacion was successful.

bool assign_remote_endpoints(const fastrtps::rtps::ParticipantProxyData &pdata)

Assign the remote endpoints for a newly discovered RTPSParticipant.

Parameters:

pdata – Pointer to the RTPSParticipantProxyData object.

Returns:

True if correct.

void remove_remote_endpoints(fastrtps::rtps::ParticipantProxyData *pdata)

Remove remote endpoints from the typelookup service.

Parameters:

pdata – Pointer to the ParticipantProxyData to remove

inline fastrtps::rtps::BuiltinProtocols *get_builtin_protocols()

Get the builtin protocols

Returns:

Builtin protocols

fastrtps::rtps::StatefulWriter *get_builtin_request_writer()

Get the builtin request writer

Returns:

stateful writer

fastrtps::rtps::StatefulWriter *get_builtin_reply_writer()

Get the builtin reply writer

Returns:

stateful writer

fastrtps::rtps::WriterHistory *get_builtin_request_writer_history()

Get the builtin request writer’s history

Returns:

writer history

fastrtps::rtps::WriterHistory *get_builtin_reply_writer_history()

Get the builtin reply writer’s history

Returns:

writer history

fastrtps::rtps::StatefulReader *get_builtin_request_reader()

Get the builtin request reader

Returns:

stateful reader

fastrtps::rtps::StatefulReader *get_builtin_reply_reader()

Get the builtin reply reader

Returns:

stateful reader

fastrtps::rtps::ReaderHistory *get_builtin_request_reader_history()

Get the builtin request reader’s history

Returns:

reader history

fastrtps::rtps::ReaderHistory *get_builtin_reply_reader_history()

Get the builtin reply reader’s history

Returns:

reader history

fastrtps::rtps::SampleIdentity get_type_dependencies(const fastrtps::types::TypeIdentifierSeq &in) const
fastrtps::rtps::SampleIdentity get_types(const fastrtps::types::TypeIdentifierSeq &in) const