![]() |
helics
3.0.1
|
#include <GlobalFederateId.hpp>
Public Member Functions | |
constexpr | GlobalHandle ()=default |
constexpr | GlobalHandle (GlobalFederateId fed, InterfaceHandle hand) |
operator uint64_t () const | |
bool | operator== (GlobalHandle id) const noexcept |
bool | operator!= (GlobalHandle id) const noexcept |
bool | operator< (GlobalHandle id) const noexcept |
bool | isValid () const |
Public Attributes | |
GlobalFederateId | fed_id = GlobalFederateId{} |
the federate id component | |
InterfaceHandle | handle = InterfaceHandle{} |
the interface handle component | |
class merging a global id and handle together
|
constexprdefault |
default constructor
|
inlineconstexpr |
construct directly from a federate_id and InterfaceHandle
|
inline |
check if the handle points to a validly specified interface
|
inlineexplicit |
convert to a uint64_t
for use in maps and other things
References helics::InterfaceHandle::baseValue(), helics::GlobalFederateId::baseValue(), fed_id, and handle.
|
inlinenoexcept |
inequality operator
|
inlinenoexcept |
less than operator for sorting
|
inlinenoexcept |
equality operator