Class: TDeterministicGlobalIDSpaceEntry

Declaration: GlobalID.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

None.

Inherited By:

None.

Purpose:

During the lifetime of this object, the task's global ID address space is deterministic. Use this object to write deterministic tests. Do not use this object in regular programs because it affects the whole task, not just your own thread's usage of global ID.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

None.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Member Function: TDeterministicGlobalIDSpaceEntry::TDeterministicGlobalIDSpaceEntry

TDeterministicGlobalIDSpaceEntry (unsigned long seed)

Interface Category:

API.

Purpose:

Creates a new TDeterministicGlobalIDSpaceEntry, during whose lifetime the task's global ID address space is deterministic. Use this object to write tests. Do not use this object in regular programs because it affects the whole task, not just you own thread's usage of global ID.

Calling Context:

Call this function directly.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TDeterministicGlobalIDSpaceEntry::~TDeterministicGlobalIDSpaceEntry

~ TDeterministicGlobalIDSpaceEntry ()

Interface Category:

API.

Purpose:

Destructor.

Calling Context:

Called to destroy an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.