#include <recur.h>


Public Member Functions | |
| a2dExternalReference (double x, double y, a2dCanvasObject *obj=0, const wxString &text=wxT(""), double angle=0, const a2dFont &font=*a2dDEFAULT_CANVASFONT) | |
| a2dExternalReference (const a2dExternalReference &other, CloneOptions options) | |
| a2dCanvasObject * | GetCanvasObject () |
| void | SetCanvasObject (a2dCanvasObject *object) |
| set the object that is referenced | |
| virtual a2dObject * | Clone (CloneOptions options) const |
| Clone this object and return a pointer to the new object. | |
Protected Member Functions | |
| void | DoWalker (wxObject *parent, a2dWalkerIOHandler &handler) |
| iterate over this object and its children | |
Protected Attributes | |
| a2dCanvasObjectPtr | m_object |
| object to which a reference is held. | |
to a a2dCanvasObject. The referenced object is not a child, and is not part the boundingbox. This object can be used to implement libraries and overviews.
Definition at line 282 of file recur.h.
| a2dCanvasObject * a2dExternalReference::GetCanvasObject | ( | ) |
| void a2dExternalReference::DoWalker | ( | wxObject * | parent, | |
| a2dWalkerIOHandler & | handler | |||
| ) | [protected, virtual] |
iterate over this object and its children
This function allows you to extend the functionality of all a2dCanvasObject classes in a a2dCanvasDocument, without adding extra members to these objects.
Default functions are called on the a2dWalkerIOHandler, which redirect the calls to other functions based on this object its classname. On can register classes to a2dWalkerIOHandler or derived classes. This way for each unique object in the document there can be a function in a2dWalkerIOHandler.
Reimplemented from a2dCanvasObject.