FreeWRL/FreeX3D  3.0.0
BasePlugin Class Reference
Inheritance diagram for BasePlugin:
ScriptablePluginObjectBase NPObject

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.
 
- Public Member Functions inherited from ScriptablePluginObjectBase
 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 Public Member Functions inherited from ScriptablePluginObjectBase
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)
 
- Data Fields inherited from NPObject
NPClass_class
 
uint32_t referenceCount
 
- Protected Attributes inherited from ScriptablePluginObjectBase
NPP mNpp
 

Detailed Description

Definition at line 62 of file BasePlugin.h.


The documentation for this class was generated from the following files: