a2dWalker_FindAndSetCorridorPath Class Reference
[Algorithms on hierarchy in a2dDocument]

find the a2dcanvasObject, and set the corridor flag on the path to it. More...

#include <algos.h>

Inheritance diagram for a2dWalker_FindAndSetCorridorPath:

Inheritance graph
[legend]
Collaboration diagram for a2dWalker_FindAndSetCorridorPath:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 a2dWalker_FindAndSetCorridorPath (a2dCanvasObject *findObject)
 constructor
 ~a2dWalker_FindAndSetCorridorPath ()
 destructor
virtual bool WalkTask (wxObject *parent, wxObject *object, a2dWalkEvent event)
 called from within a2dDocument


Detailed Description

find the a2dcanvasObject, and set the corridor flag on the path to it.

Corridors are used as event tubes in a a2dCanvasDocument, in order to redirect events directly to a specific object, but maintaining its position/matrixes correctly as in the document.

See also:
a2dIterC::SetCorridorPath

a2dCanvasView::ClearCorridorPath

Definition at line 1007 of file algos.h.


Constructor & Destructor Documentation

a2dWalker_FindAndSetCorridorPath::a2dWalker_FindAndSetCorridorPath ( a2dCanvasObject findObject  ) 

constructor

See also:
a2dIterC::SetCorridorPath

a2dCanvasView::FindAndSetCorridorPath This function is not used directly, but via a2dCanvasView::FindAndSetCorridorPath

Parameters:
findObject (child) object to be searched for.
Returns:
true if findObject was found

Definition at line 1747 of file algos.cpp.


The documentation for this class was generated from the following files:
a2dWalker_FindAndSetCorridorPath Class Reference -- Tue Aug 31 18:37:13 2010 -- 31 Aug 2010 -- 1.5.5 -- wxArt2D -- . -- Main Page Reference Documentation