kig
#include <kig_commands.h>
Public Member Functions | |
MonitorDataObjects (const std::vector< ObjectCalcer * > &objs) | |
MonitorDataObjects (ObjectCalcer *c) | |
~MonitorDataObjects () | |
void | finish (KigCommand *comm) |
void | monitor (const std::vector< ObjectCalcer * > &objs) |
Detailed Description
this class monitors a set of DataObjects for changes and returns an appropriate ChangeObjectImpsCommand if necessary.
E.g. MovingMode wants to move certain objects, so it monitors all the parents of the explicitly moving objects:
It then moves them around, and when it is finished, it asks to add the KigCommandTasks to a KigCommand, and applies that..
Definition at line 153 of file kig_commands.h.
Constructor & Destructor Documentation
MonitorDataObjects::MonitorDataObjects | ( | const std::vector< ObjectCalcer * > & | objs | ) |
all the DataObjects in objs
will be watched.
Definition at line 211 of file kig_commands.cpp.
MonitorDataObjects::MonitorDataObjects | ( | ObjectCalcer * | c | ) |
Definition at line 384 of file kig_commands.cpp.
MonitorDataObjects::~MonitorDataObjects | ( | ) |
Definition at line 243 of file kig_commands.cpp.
Member Function Documentation
void MonitorDataObjects::finish | ( | KigCommand * | comm | ) |
add the generated KigCommandTasks to the command comm
.
monitoring stops after this is called..
Definition at line 227 of file kig_commands.cpp.
void MonitorDataObjects::monitor | ( | const std::vector< ObjectCalcer * > & | objs | ) |
add objs
to the list of objs to be watched, and save their current imp's.
Definition at line 217 of file kig_commands.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.