vtkCPAdaptorAPI provides the implementation for API exposed to typical adaptor, such as C, Fortran. More...
#include <vtkCPAdaptorAPI.h>
Public Types | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) override |
vtkCPAdaptorAPI (const vtkCPAdaptorAPI &)=delete | |
void | operator= (const vtkCPAdaptorAPI &)=delete |
Public Member Functions inherited from vtkObject | |
vtkBaseTypeMacro (vtkObject, vtkObjectBase) | |
virtual void | DebugOn () |
virtual void | DebugOff () |
bool | GetDebug () |
void | SetDebug (bool debugFlag) |
virtual void | Modified () |
virtual vtkMTimeType | GetMTime () |
void | RemoveObserver (unsigned long tag) |
void | RemoveObservers (unsigned long event) |
void | RemoveObservers (const char *event) |
void | RemoveAllObservers () |
int | HasObserver (unsigned long event) |
int | HasObserver (const char *event) |
int | InvokeEvent (unsigned long event) |
int | InvokeEvent (const char *event) |
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
vtkCommand * | GetCommand (unsigned long tag) |
void | RemoveObserver (vtkCommand *) |
void | RemoveObservers (unsigned long event, vtkCommand *) |
void | RemoveObservers (const char *event, vtkCommand *) |
int | HasObserver (unsigned long event, vtkCommand *) |
int | HasObserver (const char *event, vtkCommand *) |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
int | InvokeEvent (unsigned long event, void *callData) |
int | InvokeEvent (const char *event, void *callData) |
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
vtkCommand * | GetCommand (unsigned long tag) |
void | RemoveObserver (vtkCommand *) |
void | RemoveObservers (unsigned long event, vtkCommand *) |
void | RemoveObservers (const char *event, vtkCommand *) |
int | HasObserver (unsigned long event, vtkCommand *) |
int | HasObserver (const char *event, vtkCommand *) |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
int | InvokeEvent (unsigned long event, void *callData) |
int | InvokeEvent (const char *event, void *callData) |
Public Member Functions inherited from vtkObjectBase | |
const char * | GetClassName () const |
virtual void | Delete () |
virtual void | FastDelete () |
void | Print (ostream &os) |
virtual void | Register (vtkObjectBase *o) |
virtual void | UnRegister (vtkObjectBase *o) |
void | SetReferenceCount (int) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
void | PrintRevisions (ostream &) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
void | PrintRevisions (ostream &) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkCPAdaptorAPI * | SafeDownCast (vtkObject *o) |
static void | CoProcessorInitialize () |
call at the start of the simulation More... | |
static void | CoProcessorFinalize () |
call at the end of the simulation More... | |
static void | RequestDataDescription (int *timeStep, double *time, int *coprocessThisTimeStep) |
this is the function that determines whether or not there is anything to coprocess this time step More... | |
static void | NeedToCreateGrid (int *needGrid) |
this function sets needgrid to 1 if it does not have a copy of the grid it sets needgrid to 0 if it does have a copy of the grid but does not check if the grid is modified or needs to be updated More... | |
static void | CoProcess () |
do the actual coprocessing. More... | |
static vtkCPDataDescription * | GetCoProcessorData () |
provides access to the vtkCPDataDescription instance. More... | |
static vtkCPProcessor * | GetCoProcessor () |
provides access to the vtkCPProcessor instance. More... | |
Static Public Member Functions inherited from vtkObject | |
static vtkObject * | New () |
static void | BreakOnError () |
static void | SetGlobalWarningDisplay (int val) |
static void | GlobalWarningDisplayOn () |
static void | GlobalWarningDisplayOff () |
static int | GetGlobalWarningDisplay () |
static void | SetGlobalWarningDisplay (int val) |
static void | GlobalWarningDisplayOn () |
static void | GlobalWarningDisplayOff () |
static int | GetGlobalWarningDisplay () |
Static Public Member Functions inherited from vtkObjectBase | |
static vtkTypeBool | IsTypeOf (const char *name) |
static vtkObjectBase * | New () |
static vtkObjectBase * | New () |
Protected Member Functions | |
vtkCPAdaptorAPI () | |
~vtkCPAdaptorAPI () override | |
Protected Member Functions inherited from vtkObject | |
vtkObject () | |
virtual | ~vtkObject () |
void | RegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE |
void | UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE |
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
void | InternalReleaseFocus () |
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
void | InternalReleaseFocus () |
Protected Member Functions inherited from vtkObjectBase | |
vtkObjectBase () | |
virtual | ~vtkObjectBase () |
virtual void | CollectRevisions (ostream &) |
virtual void | ReportReferences (vtkGarbageCollector *) |
vtkObjectBase (const vtkObjectBase &) | |
void | operator= (const vtkObjectBase &) |
Static Protected Attributes | |
static vtkCPDataDescription * | CoProcessorData |
static vtkCPProcessor * | CoProcessor |
static bool | IsTimeDataSet |
Additional Inherited Members | |
Protected Attributes inherited from vtkObject | |
bool | Debug |
vtkTimeStamp | MTime |
vtkSubjectHelper * | SubjectHelper |
Protected Attributes inherited from vtkObjectBase | |
vtkAtomicInt32 | ReferenceCount |
vtkWeakPointerBase ** | WeakPointers |
vtkCPAdaptorAPI provides the implementation for API exposed to typical adaptor, such as C, Fortran.
Definition at line 15 of file vtkCPAdaptorAPI.h.
typedef vtkObject vtkCPAdaptorAPI::Superclass |
Definition at line 18 of file vtkCPAdaptorAPI.h.
|
delete |
|
protected |
|
overrideprotected |
|
virtual |
Reimplemented in vtkCPPythonAdaptorAPI.
Reimplemented from vtkObjectBase.
Reimplemented in vtkCPPythonAdaptorAPI.
|
static |
|
overridevirtual |
Reimplemented from vtkObject.
Reimplemented in vtkCPPythonAdaptorAPI.
|
static |
call at the start of the simulation
|
static |
call at the end of the simulation
|
static |
this is the function that determines whether or not there is anything to coprocess this time step
|
static |
this function sets needgrid to 1 if it does not have a copy of the grid it sets needgrid to 0 if it does have a copy of the grid but does not check if the grid is modified or needs to be updated
|
static |
do the actual coprocessing.
it is assumed that the vtkCPDataDescription has been filled in elsewhere.
|
inlinestatic |
provides access to the vtkCPDataDescription instance.
Definition at line 41 of file vtkCPAdaptorAPI.h.
|
inlinestatic |
provides access to the vtkCPProcessor instance.
Definition at line 44 of file vtkCPAdaptorAPI.h.
|
delete |
|
staticprotected |
Definition at line 53 of file vtkCPAdaptorAPI.h.
|
staticprotected |
Definition at line 54 of file vtkCPAdaptorAPI.h.
|
staticprotected |
Definition at line 61 of file vtkCPAdaptorAPI.h.