VTK
|
#include <vtkJavaUtil.h>
Public Member Functions | |
void | SetGlobalRef (jobject obj) |
void | SetMethodID (jmethodID id) |
void | AssignJavaVM (JNIEnv *env) |
void | Execute (vtkObject *, unsigned long, void *) |
Static Public Member Functions | |
static vtkJavaCommand * | New () |
Public Attributes | |
JavaVM * | vm |
jobject | uobj |
jmethodID | mid |
Protected Member Functions | |
vtkJavaCommand () | |
~vtkJavaCommand () |
Definition at line 70 of file vtkJavaUtil.h.
vtkJavaCommand::vtkJavaCommand | ( | ) | [protected] |
vtkJavaCommand::~vtkJavaCommand | ( | ) | [protected] |
static vtkJavaCommand* vtkJavaCommand::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 73 of file vtkJavaUtil.h.
void vtkJavaCommand::SetGlobalRef | ( | jobject | obj | ) | [inline] |
Definition at line 75 of file vtkJavaUtil.h.
void vtkJavaCommand::SetMethodID | ( | jmethodID | id | ) | [inline] |
Definition at line 76 of file vtkJavaUtil.h.
void vtkJavaCommand::AssignJavaVM | ( | JNIEnv * | env | ) | [inline] |
Definition at line 77 of file vtkJavaUtil.h.
void vtkJavaCommand::Execute | ( | vtkObject * | caller, |
unsigned | eventId, | ||
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.
JavaVM* vtkJavaCommand::vm |
Definition at line 81 of file vtkJavaUtil.h.
jobject vtkJavaCommand::uobj |
Definition at line 82 of file vtkJavaUtil.h.
jmethodID vtkJavaCommand::mid |
Definition at line 83 of file vtkJavaUtil.h.