#include <FusionIObject.h>
Inheritance diagram for Fusion::IObject:

Public Member Functions | |
| virtual ResultType | initializeClass ()=0 |
| Initialize this class. | |
| virtual ResultType | finalizeClass ()=0 |
| Finalize this class before it is destroyed. | |
| virtual ResultType | initialize ()=0 |
| Initialize this instance. | |
| virtual ResultType | finalize ()=0 |
| Finalize this instance before it is destroyed. | |
| virtual ResultType | setProperty (const Id &, const Value &)=0 |
| Set a property of this object to the passed value. Id can be a string or numeric property. | |
| virtual ResultType | getProperty (const Id &id, Value &val) const =0 |
| Get a property of this object and place it in the passed value. Id can be a string or numeric property. | |
| virtual ResultType | getValue (Value &s, HintType=HINT_NONE) const =0 |
| Get the value of this object. | |
| virtual ResultType | setValue (const Value &val)=0 |
| Set the value of this object to the passed value, if possible. | |
| virtual ResultType | callProperty (const Id &id, Value &retval) const =0 |
| Call the passed property of this object, which is assumed to be a function or callable object. | |
| virtual ResultType | callProperty (const Id &id, Value &retval, const Value &val) const =0 |
| Call the passed property of this object, which is assumed to be a function or callable object. | |
| virtual ResultType | callProperty (const Id &id, Value &retval, Args &args, int32_t nargs) const =0 |
| Call the passed property of this object, which is assumed to be a function or callable object. | |
| virtual Value | valueOf () const =0 |
| Convert this object to a primitive value. | |
| virtual ResultType | toString (UTF8String &s) const =0 |
| Convert this object to a string. | |
| virtual double | getDouble () const =0 |
| Convert this object to a string. | |
| virtual bool | isBoolean () const =0 |
| Return true if this object represents a primitive boolean value. | |
| virtual bool | isNumber () const =0 |
| Return true if this object represents a primitive numeric value. | |
| virtual bool | isString () const =0 |
| Return true if this object represents a primitive string value. | |
| virtual UTF8String | getName () const =0 |
| Return a string representing the name of this object. The meaning of this name is object dependent. | |
| virtual void | unref ()=0 |
| Add a reference to this object to prevent it from being removed by the garbage collector. | |
| virtual void | ref ()=0 |
| Remove a reference from an object, when this object has no more refs, it is subject to GC. | |
| virtual void | registerInterface (const UTF8String &name, const Value &iface, const UTF8String &imp)=0 |
| Register an interface for this object. | |
| virtual IObject * | queryInterface (const UTF8String &name)=0 |
| Return the object that implements the passed interface. | |
|
||||||||||||||||||||
|
Call the passed property of this object, which is assumed to be a function or callable object. Any returned value is placed in retval. The nargs parameter has the number of arguments passed. Actual arguments are on the Lua stack, which is referenced in args. Implemented in Fusion::Object. |
|
||||||||||||||||
|
Call the passed property of this object, which is assumed to be a function or callable object. Any returned value is placed in retval. One argument is passed in val. Implemented in Fusion::Object. |
|
||||||||||||
|
Call the passed property of this object, which is assumed to be a function or callable object. Any returned value is placed in retval. No arguments are passed. Implemented in Fusion::Object. |
|
|
Finalize this instance before it is destroyed.
Implemented in Fusion::Object, Emma::AggRenderManager, Emma::ButtonSensor, Emma::DropSensor, Emma::Timer, Emma::ValueSensor, Emma::Viewpoint, Emma::WindowSensor, Emma::WxGUI, Emma::RenderManager, and Emma::XmaTranslator. |
|
|
Finalize this class before it is destroyed.
Implemented in Fusion::Object. |
|
|
Convert this object to a string.
Implemented in Emma::SFURL, Emma::SFValue, and Fusion::Object. |
|
|
Return a string representing the name of this object. The meaning of this name is object dependent.
Implemented in Fusion::Object. |
|
||||||||||||
|
Get a property of this object and place it in the passed value. Id can be a string or numeric property.
Implemented in Fusion::Object. |
|
||||||||||||
|
Get the value of this object. If this object cannot be converted to a primitive, return the object as the value. If HintType is given attempt to convert this object to the passed primitive type. If this is not possible, ignore HintType. Implemented in Fusion::Object. |
|
|
|
Initialize this class.
Implemented in Fusion::Object. |
|
|
Return true if this object represents a primitive boolean value.
Implemented in Emma::SFValue, and Fusion::Object. |
|
|
Return true if this object represents a primitive numeric value.
Implemented in Emma::SFURL, Emma::SFValue, and Fusion::Object. |
|
|
Return true if this object represents a primitive string value.
Implemented in Emma::SFURL, Emma::SFValue, and Fusion::Object. |
|
|
Return the object that implements the passed interface.
Implemented in Fusion::Object. |
|
|
Remove a reference from an object, when this object has no more refs, it is subject to GC.
Implemented in Fusion::Object. |
|
||||||||||||||||
|
Register an interface for this object.
Implemented in Fusion::Object. |
|
||||||||||||
|
Set a property of this object to the passed value. Id can be a string or numeric property.
Implemented in Fusion::Object, and Emma::RenderManager. |
|
|
Set the value of this object to the passed value, if possible.
Implemented in Emma::MFField, Emma::MFNode, Emma::SFMatrix3D, Emma::SFURL, Emma::SFValue, Fusion::Array, and Fusion::Object. |
|
|
Convert this object to a string.
Implemented in Emma::MFField, Emma::MFNode, Emma::Node, Emma::SFMatrix3D, Emma::SFURL, Emma::SFValue, Fusion::Array, Fusion::Date, and Fusion::Object. |
|
|
Add a reference to this object to prevent it from being removed by the garbage collector.
Implemented in Fusion::Object. |
|
|
Convert this object to a primitive value.
Implemented in Emma::SFValue, and Fusion::Object. |
1.4.3