GizmoDistribution

gzDistClientID Class Reference

Client identifier. More...

#include <gzDistBase.h>

List of all members.

Public Member Functions

 gzDistClientID ()
 Default constructor.
 gzDistClientID (const gzString &name)
 Constructor.
 gzDistClientID (const gzString &name, const gzDistInstanceID &instance)
 Constructor.
 gzDistClientID (const gzString &name, gzUInt pid, const gzULong mid)
 Constructor.
 ~gzDistClientID ()
 Destructor.
gzBool operator== (const gzDistClientID &id) const
 'Equal to' operator
gzBool operator!= (const gzDistClientID &id) const
 'Different from' operator
gzBool isNull () const
 Is it a null id ?
gzVoid setNull ()
 Set the id to NULL.
gzString asString () const
 Get client id as string.
gzULong hash () const
 Get a hash value for the instance id.

Public Attributes

gzString name
 Client name.
gzDistInstanceID instanceID
 Instance ID.


Detailed Description

Client identifier.

The client ID globally identifies a GizmoDistribution client. It contains a gzDistInstanceID and a client name. The ID is unique for all processes and machines on the network.

Examples:

ownership.cpp.

Definition at line 375 of file gzDistBase.h.


Constructor & Destructor Documentation

gzDistClientID::gzDistClientID const gzString &  name  )  [explicit]
 

Constructor.

Parameters:
name A client name.


The documentation for this class was generated from the following file:
Documentation for GizmoDistribution generated at Wed Feb 20 11:59:21 2008 by   Saab Training Systems AB, ¸ (c) 2003-and beyond