Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

Classes | Public Types | Public Member Functions | Private Member Functions | Private Attributes

Inkscape::CompositeUndoStackObserver Class Reference

#include <composite-undo-stack-observer.h>

Inheritance diagram for Inkscape::CompositeUndoStackObserver:
Inheritance graph
[legend]
Collaboration diagram for Inkscape::CompositeUndoStackObserver:
Collaboration graph
[legend]

List of all members.

Classes

struct  UndoStackObserverRecord

Public Types

typedef std::list
< UndoStackObserverRecord,
GC::Alloc
< UndoStackObserverRecord,
GC::MANUAL > > 
UndoObserverRecordList
 A list of UndoStackObserverRecords, used to aggregate multiple UndoStackObservers.

Public Member Functions

void add (UndoStackObserver &observer)
 CompositeUndoStackObserver ()
virtual void notifyClearRedoEvent ()
virtual void notifyClearUndoEvent ()
void notifyRedoEvent (Event *log)
void notifyUndoCommitEvent (Event *log)
void notifyUndoEvent (Event *log)
void operator delete (void *p)
void * operator new (std::size_t size, ScanPolicy scan=SCANNED, CollectionPolicy collect=AUTO) throw (std::bad_alloc)
void * operator new[] (std::size_t size, ScanPolicy scan=SCANNED, CollectionPolicy collect=AUTO) throw (std::bad_alloc)
void remove (UndoStackObserver &observer)

Private Member Functions

void _lock ()
bool _mark_one (UndoObserverRecordList &list, UndoStackObserver &rec)
bool _remove_one (UndoObserverRecordList &list, UndoStackObserver &rec)
void _unlock ()

Private Attributes

UndoObserverRecordList _active
unsigned int _iterating
UndoObserverRecordList _pending

Detailed Description

Aggregates UndoStackObservers for management and triggering in an SPDocument's undo/redo system.

Definition at line 31 of file composite-undo-stack-observer.h.


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

Generated by  Doxygen 1.6.0   Back to index