Gnash
0.8.10
|
User-defined getter/setter. More...
Classes | |
class | ScopedLock |
Public Member Functions | |
UserDefinedGetterSetter (as_function *get, as_function *set) | |
as_value | get (const fn_call &fn) const |
Invoke the getter. | |
void | set (const fn_call &fn) |
Invoke the setter. | |
const as_value & | getUnderlying () const |
Get the underlying value. | |
void | setUnderlying (const as_value &v) |
Set the underlying value. | |
void | markReachableResources () const |
User-defined getter/setter.
gnash::GetterSetter::UserDefinedGetterSetter::UserDefinedGetterSetter | ( | as_function * | get, |
as_function * | set | ||
) | [inline] |
Invoke the getter.
References gnash::GetterSetter::UserDefinedGetterSetter::ScopedLock::obtainedLock().
const as_value& gnash::GetterSetter::UserDefinedGetterSetter::getUnderlying | ( | ) | const [inline] |
Get the underlying value.
void gnash::GetterSetter::UserDefinedGetterSetter::markReachableResources | ( | ) | const |
References gnash::GcResource::setReachable(), and gnash::as_value::setReachable().
void gnash::GetterSetter::UserDefinedGetterSetter::set | ( | const fn_call & | fn | ) |
Invoke the setter.
References gnash::GetterSetter::UserDefinedGetterSetter::ScopedLock::obtainedLock(), and gnash::fn_call::arg().
void gnash::GetterSetter::UserDefinedGetterSetter::setUnderlying | ( | const as_value & | v | ) | [inline] |