iceoryx2
C++ Bindings
Loading...
Searching...
No Matches
iox2::TypeDetail Class Reference

#include <message_type_details.hpp>

Public Member Functions

 TypeDetail (TypeVariant variant, const char *type_name, size_t size, size_t alignment)
 Creates a [TypeDetail] from runtime values.
auto variant () const -> TypeVariant
 The [TypeVariant] of the type.
auto type_name () const -> const char *
 Contains the output of [typeid().name].
auto size () const -> size_t
 The size of the underlying type.
auto alignment () const -> size_t
 The alignment of the underlying type.

Friends

class MessageTypeDetails
class StaticConfigBlackboard

Detailed Description

Contains all type details required to connect to a [crate::service::Service]

Definition at line 23 of file message_type_details.hpp.

Constructor & Destructor Documentation

◆ TypeDetail()

iox2::TypeDetail::TypeDetail ( TypeVariant variant,
const char * type_name,
size_t size,
size_t alignment )

Creates a [TypeDetail] from runtime values.

References alignment(), size(), type_name(), and variant().

Referenced by StaticConfigBlackboard.

Member Function Documentation

◆ alignment()

auto iox2::TypeDetail::alignment ( ) const->size_t

The alignment of the underlying type.

References alignment().

Referenced by alignment(), and TypeDetail().

◆ size()

auto iox2::TypeDetail::size ( ) const->size_t

The size of the underlying type.

References size().

Referenced by size(), and TypeDetail().

◆ type_name()

auto iox2::TypeDetail::type_name ( ) const->constchar *

Contains the output of [typeid().name].

References type_name().

Referenced by type_name(), and TypeDetail().

◆ variant()

auto iox2::TypeDetail::variant ( ) const->TypeVariant

The [TypeVariant] of the type.

Referenced by TypeDetail().

◆ MessageTypeDetails

friend class MessageTypeDetails
friend

Definition at line 41 of file message_type_details.hpp.

References MessageTypeDetails.

Referenced by MessageTypeDetails.

◆ StaticConfigBlackboard

friend class StaticConfigBlackboard
friend

Definition at line 42 of file message_type_details.hpp.

References StaticConfigBlackboard, and TypeDetail().

Referenced by StaticConfigBlackboard.


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