HPS.SprocketPath
- class HPS.SprocketPath : public HPS.Sprocket
The SprocketPath class is a utility class which can be used to automatically obtain a KeyPath from the Model to the Canvas.
Public Functions
- HPS.Canvas GetCanvas ()
Returns the Canvas associated with this SprocketPath
- HPS.KeyPath GetKeyPath ()
Creates a key path from the model segment up to the canvas window key, including all segments and include keys along the way. This can be used to facilitate highlighting or gathering of net attributes.
- Return
A key path from the model segment to the canvas window key.
- HPS.Layout GetLayout ()
Returns the Layout associated with this SprocketPath
- HPS.Model GetModel ()
Returns the Model associated with this SprocketPath
- HPS.View GetView ()
Returns the View associated with this SprocketPath
- override HPS.Type ObjectType ()
This function returns the type the object, as declared (if the object is derived, this does not give the true type of the derived object).
- Return
The declared type of the object in question, which may differ from the true, underlying type.