helics
3.5.2
|
#include <GlobalFederateId.hpp>
Public Types | |
using | BaseType = IdentifierBaseType |
Public Member Functions | |
constexpr | GlobalFederateId ()=default |
constexpr | GlobalFederateId (BaseType val) noexcept |
constexpr | GlobalFederateId (GlobalBrokerId id) noexcept |
constexpr | operator GlobalBrokerId () const noexcept |
constexpr BaseType | baseValue () const |
constexpr bool | operator== (GlobalFederateId id) const noexcept |
constexpr bool | operator!= (GlobalFederateId id) const noexcept |
constexpr bool | operator< (GlobalFederateId id) const noexcept |
constexpr bool | operator> (GlobalFederateId id) const noexcept |
constexpr bool | operator== (GlobalBrokerId id) const noexcept |
constexpr bool | operator!= (GlobalBrokerId id) const noexcept |
constexpr bool | operator< (GlobalBrokerId id) const noexcept |
constexpr bool | operator> (GlobalBrokerId id) const noexcept |
constexpr bool | isFederate () const |
constexpr bool | isBroker () const |
constexpr bool | isValid () const |
constexpr BaseType | localIndex () const |
BaseType * | getBaseTypePointer () |
class holder a globally unique identifier for federates
|
constexprdefault |
default constructor
|
inlineconstexprnoexcept |
implicit conversion from global_id
|
inlineconstexpr |
|
inline |
get a pointer to the index value type for copying from memory
Referenced by helics::ActionMessage::fromByteArray().
|
inlineconstexpr |
return true if the broker_id is a valid broker id code
References helics::gGlobalBrokerIdShift.
|
inlineconstexpr |
return true if the broker_id is a valid federate id code
References helics::gGlobalBrokerIdShift, and helics::gGlobalFederateIdShift.
Referenced by helics::TimeDependencies::getMinDependency().
|
inlineconstexpr |
return true if the broker_id is a valid broker id code
Referenced by helics::TimeCoordinator::checkExecEntry(), helics::TimeCoordinator::checkTimeGrant(), helics::generateInterfaceQueryResults(), helics::GlobalHandle::isValid(), and helics::TimeCoordinator::sendUpdatedExecRequest().
|
inlineconstexpr |
generate a local offset index
the global_id is shifted by a certain amount
References helics::gGlobalFederateIdShift.
|
inlineconstexprnoexcept |
inequality operator
|
inlineconstexprnoexcept |
inequality operator
|
inlineconstexprnoexcept |
less than operator for sorting
|
inlineconstexprnoexcept |
less than operator for sorting
|
inlineconstexprnoexcept |
equality operator
|
inlineconstexprnoexcept |
equality operator
|
inlineconstexprnoexcept |
greater than operator for sorting
|
inlineconstexprnoexcept |
greater than operator for sorting