Struct slamcore::GenericMultiSessionId< detail::MultiSessionIdT::Base >

struct GenericMultiSessionId<detail::MultiSessionIdT::Base>

Public Types

using ValueT = int64_t

Public Functions

inline constexpr GenericMultiSessionId()
inline constexpr GenericMultiSessionId(const SessionIDT sid, const ValueT id)
inline ValueT value() const

Returns the zero-based index or -1 for the special case MultiFrameID.

inline SessionIDT session() const

Get the session ID.

Public Static Attributes

static constexpr SessionIDT s_invalidSession = std::numeric_limits<SessionIDT>::max()


inline friend std::ostream &operator<<(std::ostream &os, const GenericMultiSessionId &v)