a2dCommand_ReleaseObject Class Reference
[commands used in command processor]

used to release object from a a2dCanvasDocument in the current parent More...

#include <cancom.h>

Inheritance diagram for a2dCommand_ReleaseObject:

Inheritance graph
[legend]
Collaboration diagram for a2dCommand_ReleaseObject:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 a2dCommand_ReleaseObject (a2dCanvasObject *parent, a2dCanvasObject *object, bool now=true)
bool Do ()
bool Undo ()
a2dCanvasObjectGetCanvasObject ()
a2dCanvasObjectGetParent ()
a2dCanvasCommandProcessorGetCanvasCmp ()

Static Public Attributes

static const a2dCommandId Id
 used to release object from a a2dCanvasDocument in the current parent

Protected Attributes

a2dCanvasObjectPtr m_canvasobject
a2dCanvasObjectPtr m_parent
int m_index
bool m_now


Detailed Description

used to release object from a a2dCanvasDocument in the current parent

Definition at line 897 of file cancom.h.


Member Function Documentation

bool a2dCommand_ReleaseObject::Do ( void   )  [virtual]

set property for proper release in idle time by a2dCanvasObject::Update()

Implements a2dCommand.

Definition at line 2435 of file cancom.cpp.


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