vtkRubyCommand Class Reference

#include <vtkRubyUtil.h>

Inheritance diagram for vtkRubyCommand:

Inheritance graph
[legend]
Collaboration diagram for vtkRubyCommand:

Collaboration graph
[legend]
List of all members.

Detailed Description

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 vtkRubyCommandNew ()

Public Attributes

VALUE obj

Protected Member Functions

 vtkRubyCommand ()
 ~vtkRubyCommand ()


Constructor & Destructor Documentation

vtkRubyCommand::vtkRubyCommand (  )  [protected]

vtkRubyCommand::~vtkRubyCommand (  )  [protected]


Member Function Documentation

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.


Member Data Documentation

VALUE vtkRubyCommand::obj

Definition at line 147 of file vtkRubyUtil.h.


The documentation for this class was generated from the following file:
Generated on Mon Mar 10 13:22:51 2008 for VTK by  doxygen 1.5.1