North State Framework in C#  V3.0.0
An object-oriented framework for implementing UML state machines.
Public Member Functions | Static Public Member Functions | Properties | List of all members
NSFUniquelyNumberedObject Class Reference

Represents an object containing a uniquely numbered id. More...

Inheritance diagram for NSFUniquelyNumberedObject:
NSFTaggedObject NSFDebugUtility NSFEventHandler NSFOSThread NSFOSTimer NSFRegion NSFState NSFThread NSFTraceLog NSFTransition

Public Member Functions

 NSFUniquelyNumberedObject ()
 Creates a uniquely numbered object. More...
 
bool isSameObject (NSFUniquelyNumberedObject other)
 Checks if this object is the same as another object. More...
 

Static Public Member Functions

static NSFId getNextUniqueId ()
 Gets the next unique id. More...
 

Properties

NSFId UniqueId [get]
 Gets or sets the unique id of the object. More...
 

Detailed Description

Represents an object containing a uniquely numbered id.

There are 2^64 unique ids available.

Constructor & Destructor Documentation

Creates a uniquely numbered object.

Member Function Documentation

static NSFId getNextUniqueId ( )
static

Gets the next unique id.

There are 2^64 unique ids available.

bool isSameObject ( NSFUniquelyNumberedObject  other)

Checks if this object is the same as another object.

Parameters
otherThe other object to compare against.
Returns
True if the objects have the same unique id, false otherwise.

Property Documentation

NSFId UniqueId
get

Gets or sets the unique id of the object.




Copyright 2004-2014, North State Software, LLC. All rights reserved.