VTK
|
a simple event forwarder command More...
#include <vtkEventForwarderCommand.h>
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | Execute (vtkObject *caller, unsigned long eid, void *callData) |
virtual void | SetTarget (vtkObject *obj) |
virtual void * | GetTarget () |
![]() | |
void | UnRegister () |
virtual void | UnRegister (vtkObjectBase *) |
void | SetAbortFlag (int f) |
int | GetAbortFlag () |
void | AbortFlagOn () |
void | AbortFlagOff () |
void | SetPassiveObserver (int f) |
int | GetPassiveObserver () |
void | PassiveObserverOn () |
void | PassiveObserverOff () |
![]() | |
const char * | GetClassName () const |
virtual void | Delete () |
virtual void | FastDelete () |
void | Print (ostream &os) |
virtual void | Register (vtkObjectBase *o) |
void | SetReferenceCount (int) |
void | PrintRevisions (ostream &os) |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkEventForwarderCommand * | SafeDownCast (vtkObject *o) |
static vtkEventForwarderCommand * | New () |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkCommand * | SafeDownCast (vtkObject *o) |
static const char * | GetStringFromEventId (unsigned long event) |
static unsigned long | GetEventIdFromString (const char *event) |
![]() | |
static int | IsTypeOf (const char *name) |
static vtkObjectBase * | New () |
Protected Member Functions | |
vtkEventForwarderCommand () | |
~vtkEventForwarderCommand () | |
![]() | |
vtkCommand () | |
virtual | ~vtkCommand () |
vtkCommand (const vtkCommand &c) | |
void | operator= (const vtkCommand &) |
![]() | |
vtkObjectBase () | |
virtual | ~vtkObjectBase () |
virtual void | CollectRevisions (ostream &os) |
virtual void | RegisterInternal (vtkObjectBase *, int check) |
virtual void | UnRegisterInternal (vtkObjectBase *, int check) |
virtual void | ReportReferences (vtkGarbageCollector *) |
vtkObjectBase (const vtkObjectBase &) | |
void | operator= (const vtkObjectBase &) |
Protected Attributes | |
vtkObject * | Target |
![]() | |
int | AbortFlag |
int | PassiveObserver |
![]() | |
int | ReferenceCount |
vtkWeakPointerBase ** | WeakPointers |
a simple event forwarder command
Use vtkEventForwarderCommand to forward an event to a new object. This command will intercept the event, and use InvokeEvent on a 'target' as if that object was the one that invoked the event instead of the object this commmand was attached to using AddObserver.
Definition at line 32 of file vtkEventForwarderCommand.h.
Definition at line 35 of file vtkEventForwarderCommand.h.
|
protected |
|
inlineprotected |
Definition at line 60 of file vtkEventForwarderCommand.h.
|
virtual |
Reimplemented from vtkCommand.
|
static |
|
virtual |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkCommand.
|
static |
|
inlinestatic |
Definition at line 37 of file vtkEventForwarderCommand.h.
|
virtual |
Satisfy the superclass API for callbacks. Recall that the caller is the instance invoking the event; eid is the event id (see vtkCommand.h); and calldata is information sent when the callback was invoked (e.g., progress value in the vtkCommand::ProgressEvent).
Implements vtkCommand.
|
inlinevirtual |
Methods to set and get client and callback information, and the callback function.
Definition at line 49 of file vtkEventForwarderCommand.h.
|
inlinevirtual |
Methods to set and get client and callback information, and the callback function.
Definition at line 51 of file vtkEventForwarderCommand.h.
|
protected |
Definition at line 57 of file vtkEventForwarderCommand.h.