FreeWRL / FreeX3D 4.3.0
|
Public Member Functions | |
BasePlugin (NPP npp) | |
virtual bool | HasMethod (NPIdentifier name) |
virtual bool | HasProperty (NPIdentifier name) |
Returns true if the NPIdentifier passed is managed as a scriptable property. | |
virtual bool | GetProperty (NPIdentifier name, NPVariant *result) |
Returns true if the scriptable property is managed and fills the NPVariant pointer with the value. | |
virtual bool | Invoke (NPIdentifier name, const NPVariant *args, uint32_t argCount, NPVariant *result) |
returns true if the invoked method is managed and executes the appropriate code filling the NPVariant pointer with data if needed | |
virtual bool | InvokeDefault (const NPVariant *args, uint32_t argCount, NPVariant *result) |
Manages the invocation of the default '()' method. | |
![]() | |
ScriptablePluginObjectBase (NPP npp) | |
virtual void | Invalidate () |
virtual bool | SetProperty (NPIdentifier name, const NPVariant *value) |
virtual bool | RemoveProperty (NPIdentifier name) |
virtual bool | Enumerate (NPIdentifier **identifier, uint32_t *count) |
virtual bool | Construct (const NPVariant *args, uint32_t argCount, NPVariant *result) |
Additional Inherited Members | |
![]() | |
static void | _Deallocate (NPObject *npobj) |
static void | _Invalidate (NPObject *npobj) |
static bool | _HasMethod (NPObject *npobj, NPIdentifier name) |
static bool | _Invoke (NPObject *npobj, NPIdentifier name, const NPVariant *args, uint32_t argCount, NPVariant *result) |
static bool | _InvokeDefault (NPObject *npobj, const NPVariant *args, uint32_t argCount, NPVariant *result) |
static bool | _HasProperty (NPObject *npobj, NPIdentifier name) |
static bool | _GetProperty (NPObject *npobj, NPIdentifier name, NPVariant *result) |
static bool | _SetProperty (NPObject *npobj, NPIdentifier name, const NPVariant *value) |
static bool | _RemoveProperty (NPObject *npobj, NPIdentifier name) |
static bool | _Enumerate (NPObject *npobj, NPIdentifier **identifier, uint32_t *count) |
static bool | _Construct (NPObject *npobj, const NPVariant *args, uint32_t argCount, NPVariant *result) |
![]() | |
NPClass * | _class |
uint32_t | referenceCount |
![]() | |
NPP | mNpp |
Definition at line 62 of file BasePlugin.h.
|
inline |
Definition at line 65 of file BasePlugin.h.
|
virtual |
Returns true if the scriptable property is managed and fills the NPVariant pointer with the value.
Reimplemented from ScriptablePluginObjectBase.
Definition at line 60 of file BasePlugin.cpp.
|
virtual |
Reimplemented from ScriptablePluginObjectBase.
Definition at line 41 of file BasePlugin.cpp.
|
virtual |
Returns true if the NPIdentifier passed is managed as a scriptable property.
Reimplemented from ScriptablePluginObjectBase.
Definition at line 51 of file BasePlugin.cpp.
|
virtual |
returns true if the invoked method is managed and executes the appropriate code filling the NPVariant pointer with data if needed
Reimplemented from ScriptablePluginObjectBase.
Definition at line 95 of file BasePlugin.cpp.
|
virtual |
Manages the invocation of the default '()' method.
Reimplemented from ScriptablePluginObjectBase.
Definition at line 103 of file BasePlugin.cpp.