Gnash
0.8.11dev
|
A trigger that can be associated with a property name. More...
#include <as_object.h>
Public Member Functions | |
Trigger (const std::string &propname, as_function &trig, const as_value &customArg) | |
as_value | call (const as_value &oldval, const as_value &newval, as_object &this_obj) |
Call the trigger. | |
bool | dead () const |
True if this Trigger has been disposed of. | |
void | kill () |
void | setReachable () const |
A trigger that can be associated with a property name.
|
inline |
as_value gnash::Trigger::call | ( | const as_value & | oldval, |
const as_value & | newval, | ||
as_object & | this_obj | ||
) |
Call the trigger.
oldval | Old value being modified |
newval | New value requested |
this_obj | Object of which the property is being changed |
References assert, gnash::as_function::call(), and gnash::getVM().
Referenced by gnash::as_object::add_property().
|
inline |
True if this Trigger has been disposed of.
|
inline |
void gnash::Trigger::setReachable | ( | ) | const |
References gnash::GcResource::setReachable(), and gnash::as_value::setReachable().