Inheritance diagram for Composite:

Public Member Functions | |
| Composite () | |
| virtual | ~Composite () |
| UndoMemento | GetMemento (void) |
| void | ProcVec (vector< UndoMemento > umv) |
| void | Increment () |
| void | Print () |
Private Attributes | |
| UndoableInt | i1 |
| UndoableInt | i2 |
| UndoableInt | i3 |
|
|
Definition at line 138 of file test-Undoable.cxx.
|
|
|
Definition at line 139 of file test-Undoable.cxx. 00139 {}
|
|
|
Implements Undoable. Definition at line 142 of file test-Undoable.cxx. References UndoableInt::GetMemento(), i1, i2, i3, ProcVec(), and UndoMemento. 00142 {
00143 vector<UndoMemento> umv;
00144 umv.push_back(i1.GetMemento());
00145 umv.push_back(i2.GetMemento());
00146 umv.push_back(i3.GetMemento());
00147 return SigC::bind(SigC::slot_class(*this,&Composite::ProcVec),umv);
00148 }
|
|
|
Definition at line 155 of file test-Undoable.cxx. References UndoableInt::Get(), i1, i2, i3, and UndoableInt::Set(). Referenced by test2().
|
|
|
Definition at line 161 of file test-Undoable.cxx. References UndoableInt::Get(), i1, i2, and i3. Referenced by test2(). 00161 {
00162 cout << "i1="<< i1.Get()
00163 << " i2="<< i2.Get()
00164 << " i3="<< i3.Get()
00165 << endl;
00166 }
|
|
|
Definition at line 150 of file test-Undoable.cxx. Referenced by GetMemento(). 00150 {
00151 vector<UndoMemento>::iterator vit;
00152 for (vit = umv.begin(); vit != umv.end(); ++vit) (*vit)();
00153 }
|
|
|
Definition at line 169 of file test-Undoable.cxx. Referenced by Composite(), GetMemento(), Increment(), and Print(). |
|
|
Definition at line 169 of file test-Undoable.cxx. Referenced by Composite(), GetMemento(), Increment(), and Print(). |
|
|
Definition at line 169 of file test-Undoable.cxx. Referenced by Composite(), GetMemento(), Increment(), and Print(). |
1.3.9.1