Sleeping Wombat GUI  0.100
swGUI
Public Member Functions | Protected Attributes | Private Member Functions | List of all members
sw::gui::DependencyObject Class Reference

Support for data binding. More...

#include <DependencyObject.h>

Inheritance diagram for sw::gui::DependencyObject:
EngineObject sw::gui::Visual sw::gui::UIElement sw::gui::HostWindow TestUIElementClass

Public Member Functions

 DependencyObject ()
 
 ~DependencyObject ()=default
 
- Public Member Functions inherited from EngineObject
TypeID GetType () const
 
std::string GetTypeName () const
 
virtual void Serialize (ISerializer *ser) const
 Implements default serialization. Serializes only declared properties. More...
 
virtual void Deserialize (IDeserializer *deser)
 Implements default deserialization. More...
 
virtual Size MemorySize ()
 
template<typename TargetType >
TargetType * DynamicCast ()
 

Protected Attributes

EngineObjectm_dataContext
 Context for binding. More...
 

Private Member Functions

 RTTR_ENABLE (EngineObject)
 

Detailed Description

Support for data binding.

It should correpsond WPF DependencyObject.

Constructor & Destructor Documentation

sw::gui::DependencyObject::DependencyObject ( )
explicit
sw::gui::DependencyObject::~DependencyObject ( )
default

Member Function Documentation

sw::gui::DependencyObject::RTTR_ENABLE ( EngineObject  )
private

Member Data Documentation

EngineObject* sw::gui::DependencyObject::m_dataContext
protected

Context for binding.

Todo:
Consider using std::shared_ptr.

The documentation for this class was generated from the following files: