Class LocalMessageDefinitionSource

Nested Relationships

Nested Types

Class Documentation

class LocalMessageDefinitionSource

Public Types

enum class Format

Values:

enumerator UNKNOWN
enumerator MSG
enumerator IDL
enumerator SRV

Public Functions

rosbag2_storage::MessageDefinition get_full_text(const std::string &root_type)

Concatenate the message definition with its dependencies into a self-contained schema. The format is different for MSG/SRV and IDL definitions, and is described fully in docs/message_definition_encoding.md For SRV type, root_type must include a string ‘/srv/’. Throws DefinitionNotFoundError if one or more definition files are missing for the given package resource name.

explicit LocalMessageDefinitionSource() = default
LocalMessageDefinitionSource(const LocalMessageDefinitionSource&) = delete
LocalMessageDefinitionSource(const LocalMessageDefinitionSource&&) = delete