k3d::data::change_signal< value_t > Class Template Reference

Signal policy for data containers that notify observers when their value changes, including through undo/redo. More...

#include <data.h>

List of all members.

Public Types

typedef sigc::signal< void,
ihint * > 
changed_signal_t
 Defines a signal emitted when the underlying data changes. The signal includes an optional "hint" that describes the nature of the change.

Public Member Functions

changed_signal_tchanged_signal ()
 Returns a reference to the signal that is emitted whenever the underlying data changes.

Protected Member Functions

template<typename init_t >
 change_signal (const init_t &)
void start_recording (istate_recorder &)
void set_value (ihint *const Hint)
void finish_recording (istate_recorder &StateRecorder)

Private Attributes

changed_signal_t m_changed_signal

Detailed Description

template<typename value_t>
class k3d::data::change_signal< value_t >

Signal policy for data containers that notify observers when their value changes, including through undo/redo.


Member Typedef Documentation

template<typename value_t >
typedef sigc::signal<void, ihint*> k3d::data::change_signal< value_t >::changed_signal_t

Defines a signal emitted when the underlying data changes. The signal includes an optional "hint" that describes the nature of the change.


Constructor & Destructor Documentation

template<typename value_t >
template<typename init_t >
k3d::data::change_signal< value_t >::change_signal ( const init_t &   )  [inline, protected]

Member Function Documentation

template<typename value_t >
changed_signal_t& k3d::data::change_signal< value_t >::changed_signal (  )  [inline]

Returns a reference to the signal that is emitted whenever the underlying data changes.

References k3d::data::change_signal< value_t >::m_changed_signal.

template<typename value_t >
void k3d::data::change_signal< value_t >::finish_recording ( istate_recorder StateRecorder  )  [inline, protected]
template<typename value_t >
void k3d::data::change_signal< value_t >::set_value ( ihint *const   Hint  )  [inline, protected]
template<typename value_t >
void k3d::data::change_signal< value_t >::start_recording ( istate_recorder  )  [inline, protected]

Member Data Documentation

template<typename value_t >
changed_signal_t k3d::data::change_signal< value_t >::m_changed_signal [private]

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

Generated on Mon Mar 21 07:42:19 2011 for K-3D by doxygen 1.6.3