8 #ifndef META_OCEAN_INTERACTION_JS_DEVICE_MANAGER_H
9 #define META_OCEAN_INTERACTION_JS_DEVICE_MANAGER_H
37 static inline const char* objectName();
43 static inline v8::Local<v8::ObjectTemplate> objectTemplate();
77 return "DeviceManager";
This class implements the base class for all JavaScript wrappers.
Definition: JSBase.h:34
This class implements a wrapper for a JavaScript DeviceManager object.
Definition: JSDeviceManager.h:28
static void functionCreate(const v8::FunctionCallbackInfo< v8::Value > &info)
Callback function for 'create()' function.
static const char * objectName()
Returns the JavaScript name of this object.
Definition: JSDeviceManager.h:75
static v8::Persistent< v8::ObjectTemplate > objectTemplate_
Object template for the Vector2 object.
Definition: JSDeviceManager.h:72
static v8::Local< v8::ObjectTemplate > objectTemplate()
Returns the object template for this object.
Definition: JSDeviceManager.h:80
static void functionDevices(const v8::FunctionCallbackInfo< v8::Value > &info)
Callback function for 'devices()' function.
static void release()
Releases the function and object template for this object.
Definition: JSDeviceManager.h:91
static void createObjectTemplate()
Creates the function object template for this object.
This class implements the java script interaction library object.
Definition: JSLibrary.h:32
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15