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

template<>
struct GenericMultiSessionId<detail::MultiSessionIdT::Base>

Public Types

using ValueT = int64_t

Public Functions

inline GenericMultiSessionId()
inline 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()

Friends

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