Kicking it Olde Sküül! Burgerlib on Github Follow Olde Sküül on Twitter Burgerbecky on LinkedIn Burgerbecky on LinkedIn
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | Private Attributes | List of all members
Burger::Flash::ActionScriptProperty Class Reference

Shared data buffer. More...

Inheritance diagram for Burger::Flash::ActionScriptProperty:
Inheritance graph
[legend]
Collaboration diagram for Burger::Flash::ActionScriptProperty:
Collaboration graph
[legend]

Public Member Functions

const Burger::StaticRTTIget_StaticRTTI (void) const noexcept override
 Get the description to the class.
 
 ActionScriptProperty (const ActionScriptValue &rGetFunction, const ActionScriptValue &rSetFunction)
 
virtual ~ActionScriptProperty ()
 
void SetFunction (ActionScriptObject *pTargetObject, const ActionScriptValue &rValue)
 
void GetFunction (ActionScriptObject *pTargetObject, ActionScriptValue *pValue) const
 
void GetFunction (const ActionScriptValue &rTargetObject, ActionScriptValue *pValue) const
 
void Print (void) const
 
- Public Member Functions inherited from Burger::WeakAndStrongBase
ProxyReferenceCounterGetProxyReferenceCounter (void) const noexcept
 Function used by WeakPointer.
 
const Burger::StaticRTTIget_StaticRTTI (void) const noexcept override
 Get the description to the class.
 
- Public Member Functions inherited from Burger::ReferenceCounter
 ReferenceCounter () noexcept
 Sets the reference count to zero.
 
virtual ~ReferenceCounter ()
 Destructor.
 
void AddRef (void) noexcept
 Increase the reference count by 1.
 
void Release (void) noexcept
 Decrease the reference count by 1.
 
- Public Member Functions inherited from Burger::Base
const charget_class_name (void) const noexcept
 Get the name of the class.
 
virtual ~Base () noexcept=default
 Destructor.
 

Static Public Attributes

static const Burger::StaticRTTI g_StaticRTTI
 
- Static Public Attributes inherited from Burger::WeakAndStrongBase
static const Burger::StaticRTTI g_StaticRTTI
 The global description of the class.
 
- Static Public Attributes inherited from Burger::ReferenceCounter
static const Burger::StaticRTTI g_StaticRTTI
 The global description of the class.
 
- Static Public Attributes inherited from Burger::Base
static const Burger::StaticRTTI g_StaticRTTI
 The global description of the class.
 

Private Attributes

SmartPointer< ActionScriptFunctionm_GetFunction
 Function object to call when data is to be retrieved.
 
SmartPointer< ActionScriptFunctionm_SetFunction
 Function object to call when data is being updated.
 

Detailed Description

Shared data buffer.


A shared buffer that's reference counted so multiple action script items can manager a single copy of this buffer

See also
ReferenceCounter

Constructor & Destructor Documentation

◆ ActionScriptProperty()

Burger::Flash::ActionScriptProperty::ActionScriptProperty ( const ActionScriptValue & rGetFunction,
const ActionScriptValue & rSetFunction )

◆ ~ActionScriptProperty()

virtual Burger::Flash::ActionScriptProperty::~ActionScriptProperty ( )
virtual

Member Function Documentation

◆ get_StaticRTTI()

const Burger::StaticRTTI * Burger::Flash::ActionScriptProperty::get_StaticRTTI ( void ) const
overridevirtualnoexcept

Get the description to the class.


This virtual function will pull the pointer to the StaticRTTI instance that has the name of the class. Due to it being virtual, it will be the name of the most derived class.

Returns
Pointer to a global, read only instance of StaticRTTI for the true class

Reimplemented from Burger::Base.

◆ GetFunction() [1/2]

void Burger::Flash::ActionScriptProperty::GetFunction ( ActionScriptObject * pTargetObject,
ActionScriptValue * pValue ) const

◆ GetFunction() [2/2]

void Burger::Flash::ActionScriptProperty::GetFunction ( const ActionScriptValue & rTargetObject,
ActionScriptValue * pValue ) const

◆ Print()

void Burger::Flash::ActionScriptProperty::Print ( void ) const

◆ SetFunction()

void Burger::Flash::ActionScriptProperty::SetFunction ( ActionScriptObject * pTargetObject,
const ActionScriptValue & rValue )

Member Data Documentation

◆ g_StaticRTTI

const Burger::StaticRTTI Burger::Flash::ActionScriptProperty::g_StaticRTTI
static

◆ m_GetFunction

SmartPointer<ActionScriptFunction> Burger::Flash::ActionScriptProperty::m_GetFunction
private

Function object to call when data is to be retrieved.

◆ m_SetFunction

SmartPointer<ActionScriptFunction> Burger::Flash::ActionScriptProperty::m_SetFunction
private

Function object to call when data is being updated.