Dali 3D User Interface Engine
List of all members | Classes | Public Member Functions | Private Types | Private Attributes
Dali::Internal::SceneGraph::ConnectionChangePropagator Class Reference

This class maintains a list of observers that are informed when it's owner changes it's connections. More...

#include <scene-graph-connection-change-propagator.h>

Collaboration diagram for Dali::Internal::SceneGraph::ConnectionChangePropagator:
Collaboration graph
[legend]

Classes

class  Observer
 

Public Member Functions

 ConnectionChangePropagator ()
 Constructor. More...
 
 ~ConnectionChangePropagator ()
 Destructor. More...
 
void Add (Observer &observer)
 Add an observer. More...
 
void Remove (Observer &observer)
 Remove an observer. More...
 
void ConnectionsChanged (PropertyOwner &object)
 Inform the observers that the connections to the object have changed. More...
 
void ConnectedUniformMapChanged ()
 Inform the observers that the uniform map of this or a connected object has changed. More...
 
void Destroy (PropertyOwner &object)
 Inform the observers that the object is about to be destroyed. More...
 

Private Types

typedef Dali::Vector< Observer * > Observers
 
typedef Observers::Iterator ObserversIterator
 

Private Attributes

Observers mObservers
 

Detailed Description

This class maintains a list of observers that are informed when it's owner changes it's connections.

Definition at line 34 of file scene-graph-connection-change-propagator.h.

Member Typedef Documentation

Definition at line 97 of file scene-graph-connection-change-propagator.h.

Definition at line 98 of file scene-graph-connection-change-propagator.h.

Constructor & Destructor Documentation

Dali::Internal::SceneGraph::ConnectionChangePropagator::ConnectionChangePropagator ( )

Constructor.

Definition at line 26 of file scene-graph-connection-change-propagator.cpp.

Dali::Internal::SceneGraph::ConnectionChangePropagator::~ConnectionChangePropagator ( )

Destructor.

Definition at line 30 of file scene-graph-connection-change-propagator.cpp.

Member Function Documentation

void Dali::Internal::SceneGraph::ConnectionChangePropagator::Add ( Observer observer)
void Dali::Internal::SceneGraph::ConnectionChangePropagator::ConnectedUniformMapChanged ( )
void Dali::Internal::SceneGraph::ConnectionChangePropagator::ConnectionsChanged ( PropertyOwner object)
void Dali::Internal::SceneGraph::ConnectionChangePropagator::Destroy ( PropertyOwner object)

Inform the observers that the object is about to be destroyed.

Parameters
[in]objectThe connection owner

Definition at line 83 of file scene-graph-connection-change-propagator.cpp.

References Dali::Vector< T, IsTrivialType >::Begin(), Dali::Vector< T, IsTrivialType >::End(), mObservers, and Dali::Internal::SceneGraph::ConnectionChangePropagator::Observer::ObservedObjectDestroyed().

Referenced by Dali::Internal::SceneGraph::Geometry::~Geometry(), and Dali::Internal::SceneGraph::Material::~Material().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Internal::SceneGraph::ConnectionChangePropagator::Remove ( Observer observer)

Member Data Documentation

Observers Dali::Internal::SceneGraph::ConnectionChangePropagator::mObservers
private

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