#include <vtkRubyUtil.h>
Inheritance diagram for vtkRubyCommand:
Definition at line 139 of file vtkRubyUtil.h.
Public Member Functions | |
void | SetObject (VALUE o) |
void | Execute (vtkObject *ptr, unsigned long eventtype, void *CallData) |
Static Public Member Functions | |
static vtkRubyCommand * | New () |
Public Attributes | |
VALUE | obj |
Protected Member Functions | |
vtkRubyCommand () | |
~vtkRubyCommand () |
vtkRubyCommand::vtkRubyCommand | ( | ) | [protected] |
vtkRubyCommand::~vtkRubyCommand | ( | ) | [protected] |
static vtkRubyCommand* vtkRubyCommand::New | ( | ) | [inline, static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObjectBase.
Definition at line 142 of file vtkRubyUtil.h.
void vtkRubyCommand::SetObject | ( | VALUE | o | ) |
void vtkRubyCommand::Execute | ( | vtkObject * | ptr, | |
unsigned long | eventtype, | |||
void * | CallData | |||
) | [virtual] |
All derived classes of vtkCommand must implement this method. This is the method that actually does the work of the callback. The caller argument is the object invoking the event, the eventId parameter is the id of the event, and callData parameter is data that can be passed into the execute method. (Note: vtkObject::InvokeEvent() takes two parameters: the event id (or name) and call data. Typically call data is NULL, but the user can package data and pass it this way. Alternatively, a derived class of vtkCommand can be used to pass data.)
Implements vtkCommand.
VALUE vtkRubyCommand::obj |
Definition at line 147 of file vtkRubyUtil.h.