18 #include <pia/platform.h> 58 uniqueId = arg % 0x100000000;
59 reserved =
static_cast<u32
>(arg / 0x100000000);
63 bool operator==(
const StationId& rhs)
const 68 bool operator!=(
const StationId& rhs)
const 70 return !(*
this == rhs);
75 return (static_cast<u64>(uniqueId) << 0) | (
static_cast<u64
>(
reserved) << 32);
107 #define STATION_ID_INVALID GetStationIdInvalid() 108 #define STATION_ID_HOST GetStationIdHost() 109 #define STATION_ID_ALL GetStationIdAll() u32 uniqueId
A unique station value.
Definition: types.h:35
const u64 STATION_ID_HOST_VALUE
Value indicating host StationId.
Definition: types.h:81
Definition of the StationId identifying the station within the session.
Definition: types.h:33
const StationId & GetStationIdAll()
Gets the const reference indicating the StationId object to specify all session participants when sen...
const u64 STATION_ID_ALL_VALUE
Value indicating StationId for all participants.
Definition: types.h:82
u32 reserved
This is a reserved region.
Definition: types.h:36
const StationId & GetStationIdInvalid()
Gets the const reference of the StationId object representing the invalid StationId. You can also use the STATION_ID_INVALID macro.
const u64 STATION_ID_INVALID_VALUE
Value indicating invalid StationId.
Definition: types.h:80
const StationId & GetStationIdHost()
Gets the const reference of the StationId object representing the host StationId. You can also use th...