- Your Widget Set For OpenGL
Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | Related Pages

ufo::UPropertyChangeEvent Class Reference

This event is used to notify property changes. More...

#include <upropertychangeevent.hpp>

Inheritance diagram for ufo::UPropertyChangeEvent:

ufo::UEvent ufo::UObject ufo::UCollectable List of all members.

Public Member Functions

 UPropertyChangeEvent (UObject *source, Type type, const std::string &propName, UObject *oldValue, UObject *newValue)
const std::string & getPropertyName () const
UObjectgetOldValue () const
UObjectgetNewValue () const

Protected Member Functions

virtual std::ostream & paramString (std::ostream &os) const

Protected Attributes

std::string m_propName
UObjectm_oldValue
UObjectm_newValue

Detailed Description

This event is used to notify property changes.

Author:
Johannes Schmidt


Member Function Documentation

UObject* ufo::UPropertyChangeEvent::getNewValue  )  const [inline]
 

returns the new value

UObject* ufo::UPropertyChangeEvent::getOldValue  )  const [inline]
 

returns the old Value

const std::string& ufo::UPropertyChangeEvent::getPropertyName  )  const [inline]
 

returns the name of the canged property

virtual std::ostream& ufo::UPropertyChangeEvent::paramString std::ostream &  os  )  const [protected, virtual]
 

Prints some useful internal data to the ostream os. This method is meant only for debugging purposes.

Reimplemented from ufo::UEvent.


The documentation for this class was generated from the following file:
The libUFO Project - written by Johannes Schmidt