CRaPI - Correct Robust and Perfect API

CommandQueue Members

CommandQueue overview

Public Instance Constructors

CommandQueue Constructor Constructs a CommandQueue

Public Instance Methods

Clear Clears all commands in the internal queue
Dequeue Dequeues and returns the first command in the queue
EnqueueOverloaded. Adds a Command to the queue
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetCommand Returns the first Command object in the queue with the CommandType pType
GetCommands Returns all commands in the internal queue
GetCommandString Returns the concatenated command string for all Command objects in the queue
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
Peek Returns the first command in the queue
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Fields

mQueueThe internal queue

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

CommandQueue Class | TeamYaffa.CRaPI Namespace