Class: TPseudoTimeStampGenerator

Declaration: PseudoTimeStampGenerator.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

None.

Inherited By:

None.

Purpose:

This class provides unique, ascending pseudo time stamps for objects in the local task. By updating object time stamps using TPseudoTimeStampGenerator, the time stamps are maintained relative to this single counter, and clients that depend on multiple objects only need to maintain one pseudo time stamp.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

None.

Concurrency:

Multithread safe.

Resource Use:

No special requirements.

Other Considerations:

None.

Member Function: TPseudoTimeStampGenerator::TPseudoTimeStampGenerator

TPseudoTimeStampGenerator ()

Interface Category:

API.

Purpose:

Default constructor.

Calling Context:

Call this function directly to construct an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TPseudoTimeStampGenerator::~TPseudoTimeStampGenerator

~ TPseudoTimeStampGenerator ()

Interface Category:

API.

Purpose:

Destructor.

Calling Context:

Call this function directly to destroy an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TPseudoTimeStampGenerator::AssignNextValueTo

void AssignNextValueTo (TPseudoTimeStamp &)

Interface Category:

API.

Purpose:

Assigns the proper next time stamp to the object passed in.

Calling Context:

Call this function directly to assign the proper next time stamp to the object passed in.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TPseudoTimeStampGenerator::AssignCurrentValueTo

void AssignCurrentValueTo (TPseudoTimeStamp &)

Interface Category:

API.

Purpose:

Assigns the proper current time stamp to the object passed in.

Calling Context:

Call this function directly to assign the proper current time stamp to the object passed in.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

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.