Theron  6.00.02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
uint64_t Theron::Address::AsUInt64 ( ) const
inline

Gets the unique value of the address as an unsigned 64-bit integer.

Note
The 64-bit value of an address is not guaranteed to be unique across multiple hosts or multiple processes within the same host. Use the string value of an address if you require globally unique identifiers.
class Actor : public Theron::Actor
{
explicit Actor(Theron::Framework &framework) : Theron::Actor(framework)
{
}
};
Actor actor(framework);
printf("Actor has address %llu\n", actor.GetAddress().AsUInt64());
See Also
AsInteger