/inkscape/src/xml/ |
H A D | subtree.cpp | 32 void synthesize_events_recursive(Node &node, NodeObserver &observer) { argument 33 node.synthesizeEvents(observer); 35 synthesize_events_recursive(*iter, observer); 41 void Subtree::synthesizeEvents(NodeObserver &observer) { argument 42 synthesize_events_recursive(_root, observer); 45 void Subtree::addObserver(NodeObserver &observer) { argument 46 _observers.add(observer); 49 void Subtree::removeObserver(NodeObserver &observer) { argument 50 _observers.remove(observer);
|
H A D | subtree.h | 19 #include "xml/composite-node-observer.h" 39 * This method notifies the specified observer of node changes equivalent to creating 44 void synthesizeEvents(NodeObserver &observer); 46 * @brief Add an observer watching for subtree changes 50 void addObserver(NodeObserver &observer); 52 * @brief Add an observer watching for subtree changes 56 void removeObserver(NodeObserver &observer);
|
H A D | event.h | 97 * @brief Undo this event to an observer 99 * This method notifies the specified observer of an action opposite to the one that 102 void undoOne(NodeObserver &observer) const { 103 _undoOne(observer); 106 * @brief Replay this event to an observer 110 void replayOne(NodeObserver &observer) const { 111 _replayOne(observer); 141 void _undoOne(NodeObserver &observer) const; 142 void _replayOne(NodeObserver &observer) const; 160 void _undoOne(NodeObserver &observer) cons [all...] |
H A D | composite-node-observer.cpp | 19 #include "xml/composite-node-observer.h" 35 iter->observer.notifyChildAdded(node, child, prev); 49 iter->observer.notifyChildRemoved(node, child, prev); 64 iter->observer.notifyChildOrderChanged(node, child, old_prev, new_prev); 79 iter->observer.notifyContentChanged(node, old_content, new_content); 94 iter->observer.notifyAttributeChanged(node, name, old_value, new_value); 100 void CompositeNodeObserver::add(NodeObserver &observer) { argument 102 _pending.push_back(ObserverRecord(observer)); 104 _active.push_back(ObserverRecord(observer)); 170 return !record.marked && predicate(record.observer); 252 NodeObserver const &observer; member in struct:Inkscape::XML::__anon554::eql_observer 261 remove(NodeObserver &observer) argument 278 operator ()(NodeObserver const &observer) argument [all...] |
H A D | composite-node-observer.h | 19 #include "xml/node-observer.h" 29 * @brief An observer that relays notifications to multiple other observers 31 * This special observer keeps a list of other observer objects and sends 33 * allows an observer to remove itself from this object during a method call. 39 explicit ObserverRecord(NodeObserver &o) : observer(o), marked(false) {} 41 NodeObserver &observer; member in struct:Inkscape::XML::CompositeNodeObserver::ObserverRecord 50 * @brief Add an observer to the list 51 * @param observer The observer objec [all...] |
H A D | simple-node.h | 26 #include "xml/composite-node-observer.h" 101 void synthesizeEvents(NodeObserver &observer); 107 void addObserver(NodeObserver &observer) { argument 108 _observers.add(observer); 113 void removeObserver(NodeObserver &observer) { argument 114 _observers.remove(observer); 117 void addSubtreeObserver(NodeObserver &observer) { argument 118 _subtree_observers.add(observer); 120 void removeSubtreeObserver(NodeObserver &observer) { argument 121 _subtree_observers.remove(observer); [all...] |
H A D | event.cpp | 23 #include "xml/node-observer.h" 128 Inkscape::XML::NodeObserver &observer 131 action->undoOne(observer); 153 Inkscape::XML::NodeObserver &observer 155 observer.notifyChildRemoved(*this->repr, *this->child, this->ref); 159 Inkscape::XML::NodeObserver &observer 161 observer.notifyChildAdded(*this->repr, *this->child, this->ref); 165 Inkscape::XML::NodeObserver &observer 167 observer.notifyAttributeChanged(*this->repr, this->key, this->newval, this->oldval); 171 Inkscape::XML::NodeObserver &observer [all...] |
H A D | event-fns.h | 11 void replay_log_to_observer(Event const *log, NodeObserver &observer); 12 void undo_log_to_observer(Event const *log, NodeObserver &observer);
|
H A D | node.h | 72 * In addition to regular DOM manipulations, you can register observer objects that will 414 * @c observer must be an object deriving from the NodeObserver class. 416 * happens to this node. You can also notify the observer of the node's current state 419 * @param observer The observer object 421 virtual void addObserver(NodeObserver &observer)=0; 424 * @param observer The object to be removed 426 virtual void removeObserver(NodeObserver &observer)=0; 430 * This function notifies the specified observer of all the events that would 431 * recreate the current state of this node; e.g. the observer i [all...] |
H A D | simple-node.cpp | 605 void SimpleNode::synthesizeEvents(NodeObserver &observer) { argument 606 synthesizeEvents(&OBSERVER_EVENT_VECTOR, &observer);
|
/inkscape/src/ |
H A D | composite-undo-stack-observer.cpp | 14 #include "composite-undo-stack-observer.h" 23 CompositeUndoStackObserver::add(UndoStackObserver& observer) argument 26 this->_active.push_back(UndoStackObserverRecord(observer)); 28 this->_pending.push_back(UndoStackObserverRecord(observer)); 33 CompositeUndoStackObserver::remove(UndoStackObserver& observer) argument 37 this->_remove_one(this->_active, observer) || this->_remove_one(this->_pending, observer); 39 this->_mark_one(this->_active, observer) || this->_mark_one(this->_pending, observer);
|
H A D | composite-undo-stack-observer.h | 14 #include "undo-stack-observer.h" 122 * \param observer Reference to an UndoStackObserver to add. 124 void add(UndoStackObserver& observer); 129 * \param observer Reference to an UndoStackObserver to remove. 131 void remove(UndoStackObserver& observer); 158 // Remove an observer from a given list 161 // Mark an observer for removal from a given list 173 // Prevents the observer vector from modifications during
|
H A D | document.h | 192 void addUndoObserver(Inkscape::UndoStackObserver& observer); 193 void removeUndoObserver(Inkscape::UndoStackObserver& observer);
|
H A D | document.cpp | 1025 SPDocument::addUndoObserver(Inkscape::UndoStackObserver& observer) argument 1027 this->priv->undoStackObservers.add(observer); 1031 SPDocument::removeUndoObserver(Inkscape::UndoStackObserver& observer) argument 1033 this->priv->undoStackObservers.remove(observer);
|
/inkscape/src/display/ |
H A D | canvas-arena.h | 54 CachePrefObserver *observer; member in struct:_SPCanvasArena
|
H A D | canvas-arena.cpp | 104 arena->observer = new CachePrefObserver(arena); 126 delete arena->observer;
|
/inkscape/src/trace/ |
H A D | trace.cpp | 170 * Informs the observer how much has been completed. 309 TraceSioxObserver observer(this); 310 Siox sengine(&observer);
|
H A D | siox.h | 401 * Informs the observer how much has been completed. 469 Siox(SioxObserver *observer);
|
H A D | siox.cpp | 746 Siox::Siox(SioxObserver *observer) : argument 747 sioxObserver(observer),
|