This class implements and manages the global command stack.
The command stack consists of groups which contain their respective commands. Adding a command adds it to its group. If the group does not exist, the group is first created and pushed onto the top of the stack.
The lookupCommand and executeCommand functions search for command names in the group order on the stack.
In the case of duplicate command names, the most recent one added to the stack is the command that is returned or executed.
The group order may be changed with popGroupToTop function.
Corresponding C++ library: TD_Root
File: EdCommandStack.h
Module: API Reference
Default constructor for this class. (Inherited from OdRxObject) | |
The virtual destructor for this class. (Inherited from OdRxObject) |
| |
This is the overview for the addCommand method overload. | |
Adds the specified reactor to this object's reactor list. | |
Declares the method incrementing the reference counter in objects derived from this class. (Inherited from OdRxObject) | |
Casts the specified raw pointer to the smart pointer. (Inherited from OdRxObject) | |
Creates a *clone* of this object, and returns a pointer to the *clone*. (Inherited from OdRxObject) | |
Compares another object to this one in a some meaning. (Inherited from OdRxObject) | |
details Copies the contents of the specified object into this object. (Inherited from OdRxObject) | |
Returns the raw pointer to the class describing instance statically associated with this object as the OdRxClass object. (Inherited from OdRxObject) | |
This is the overview for the executeCommand method overload. | |
Returns this object's transient reactors. | |
Returns the raw pointer to the class describing instance dynamically associated with this object as the OdRxClass object. (Inherited from OdRxObject) | |
Returns true if and only if the specified object is equal to this one in a some meaning. (Inherited from OdRxObject) | |
Checks whether the object belongs to the specified class and returns true if and only if this object is an instance of the specified class or a subclass of the specified class. (Inherited from OdRxObject) | |
Returns the OdEdCommand object with the specified name in this Stack object. | |
Returns an Iterator object that can be used to traverse the group objects in this Stack object. | |
This is the overview for the newIterator method overload. | |
Returns the value of the reference counter, that is, the number of references to an instance of this class. (Inherited from OdRxObject) | |
This function pops the cmdGroupName command group to the top of the command stack making it the first group to be searched when resolving application defined command names. | |
Checks whether the object belongs to the specified class and returns a pointer to this object if this object can be converted to the specified class. (Inherited from OdRxObject) | |
Declares the method decrementing the reference counter in objects derived from this class. (Inherited from OdRxObject) | |
This is the overview for the removeCmd method overload. | |
Removes the specified group and its commands from this Stack object. | |
Removes the specified transient reactor from this object's reactor list. | |
for internal use (Inherited from OdRxObject) | |
(Inherited from OdRxObject) | |
Checks whether the object belongs to the specified class and returns a pointer to this object if this object can be converted to the specified class, or throws an exception if it cannot. (Inherited from OdRxObject) |
Copyright © 2002-2022. Open Design Alliance All rights reserved.
|