Dali 3D User Interface Engine
List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
Dali::Internal::PropertyNotificationManager Class Reference

PropertyNotificationManager issues notifications to applications a condition of a property being met. More...

#include <property-notification-manager.h>

Inheritance diagram for Dali::Internal::PropertyNotificationManager:
Inheritance graph
[legend]
Collaboration diagram for Dali::Internal::PropertyNotificationManager:
Collaboration graph
[legend]

Public Member Functions

virtual ~PropertyNotificationManager ()
 Virtual destructor. More...
 
void PropertyNotificationCreated (PropertyNotification &propertyNotification)
 Called when a PropertyNotification is constructed. More...
 
void PropertyNotificationDestroyed (PropertyNotification &propertyNotification)
 Called when a PropertyNotification is destroyed. More...
 
- Public Member Functions inherited from Dali::Internal::PropertyNotifier
virtual ~PropertyNotifier ()
 Virtual destructor. More...
 

Static Public Member Functions

static
PropertyNotificationManager
New ()
 Create an PropertyNotificationManager. More...
 

Private Member Functions

virtual void NotifyProperty (SceneGraph::PropertyNotification *propertyNotification, bool validity)
 Provide notification signals for a changed property. More...
 
 PropertyNotificationManager ()
 Default constructor. More...
 
 PropertyNotificationManager (const PropertyNotificationManager &)
 
PropertyNotificationManageroperator= (const PropertyNotificationManager &rhs)
 

Private Attributes

Dali::Vector
< PropertyNotification * > 
mPropertyNotifications
 All existing PropertyNotifications (not owned) More...
 

Detailed Description

PropertyNotificationManager issues notifications to applications a condition of a property being met.

It also monitors the lifetime of PropertyNotification objects and will only emit signals for PropertyNotification objects which are still valid.

Definition at line 39 of file property-notification-manager.h.

Constructor & Destructor Documentation

Dali::Internal::PropertyNotificationManager::~PropertyNotificationManager ( )
virtual

Virtual destructor.

Definition at line 36 of file property-notification-manager.cpp.

Dali::Internal::PropertyNotificationManager::PropertyNotificationManager ( )
private

Default constructor.

Definition at line 73 of file property-notification-manager.cpp.

Referenced by New().

Here is the caller graph for this function:

Dali::Internal::PropertyNotificationManager::PropertyNotificationManager ( const PropertyNotificationManager )
private

Member Function Documentation

PropertyNotificationManager * Dali::Internal::PropertyNotificationManager::New ( )
static

Create an PropertyNotificationManager.

Returns
A newly allocated object.

Definition at line 31 of file property-notification-manager.cpp.

References PropertyNotificationManager().

Here is the call graph for this function:

void Dali::Internal::PropertyNotificationManager::NotifyProperty ( SceneGraph::PropertyNotification propertyNotification,
bool  validity 
)
privatevirtual

Provide notification signals for a changed property.

This method should be called in the event-thread; the update-thread must use PropertyChangedMessage.

Parameters
[in]propertyNotificationA pointer to the SceneGraph::PropertyNotification that has been mnodified.
[in]validityPasses in whether the notification was triggered by a true or false condition result

Implements Dali::Internal::PropertyNotifier.

Definition at line 53 of file property-notification-manager.cpp.

References Dali::Vector< T, IsTrivialType >::Begin(), Dali::Vector< T, IsTrivialType >::End(), and mPropertyNotifications.

Here is the call graph for this function:

PropertyNotificationManager& Dali::Internal::PropertyNotificationManager::operator= ( const PropertyNotificationManager rhs)
private
void Dali::Internal::PropertyNotificationManager::PropertyNotificationCreated ( PropertyNotification propertyNotification)

Called when a PropertyNotification is constructed.

Definition at line 40 of file property-notification-manager.cpp.

References mPropertyNotifications, and Dali::Vector< T, IsTrivialType >::PushBack().

Referenced by Dali::Internal::PropertyNotification::PropertyNotification().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Internal::PropertyNotificationManager::PropertyNotificationDestroyed ( PropertyNotification propertyNotification)

Called when a PropertyNotification is destroyed.

Definition at line 45 of file property-notification-manager.cpp.

References Dali::Vector< T, IsTrivialType >::Begin(), DALI_ASSERT_ALWAYS, Dali::Vector< T, IsTrivialType >::End(), mPropertyNotifications, and Dali::Vector< T, IsTrivialType >::Remove().

Referenced by Dali::Internal::PropertyNotification::~PropertyNotification().

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

Dali::Vector< PropertyNotification* > Dali::Internal::PropertyNotificationManager::mPropertyNotifications
private

All existing PropertyNotifications (not owned)

Definition at line 86 of file property-notification-manager.h.

Referenced by NotifyProperty(), PropertyNotificationCreated(), and PropertyNotificationDestroyed().


The documentation for this class was generated from the following files:
Dali Docs Home
Read more about Dali