13 #include "generalmod.h" 36 virtual bool isValid()
const {
return locid_.isValid();}
42 : locid_(id), loc_(loc) {}
44 void replaceID(
Set&,LocID tmpid,LocID realid)
const;
45 virtual void doApply(
Set&,
bool)
const = 0;
55 LocID beforeid=LocID::getInvalid() )
56 : SetChangeRecord(id,loc)
57 , beforeid_(beforeid) {}
63 virtual void doApply(
Set&,
bool)
const;
74 : SetChangeRecord(id,to)
81 virtual void doApply(
Set&,
bool)
const;
92 : SetChangeRecord(id,loc)
93 , beforeid_(beforeid) {}
99 virtual void doApply(
Set&,
bool)
const;
#define mExpClass(module)
Definition: commondefs.h:157
virtual Record * clone() const
Definition: picksetchangerecorder.h:97
Object that can be MT-safely monitored from cradle to grave.
Definition: monitorable.h:76
LocID locid_
Definition: picksetchangerecorder.h:32
T to(const F &fr)
Definition: convert.h:31
Pick location in space,.
Definition: picklocation.h:44
Definition: picksetchangerecorder.h:50
Location loc_
Definition: picksetchangerecorder.h:33
ChangeRecorder::Action Action
Definition: picksetchangerecorder.h:30
virtual Record * clone() const
Definition: picksetchangerecorder.h:79
Definition: picksetchangerecorder.h:86
Definition: uistring.h:88
virtual bool isValid() const
Definition: picksetchangerecorder.h:36
PerThreadObjectRepository< Location > movestartloc_
Definition: picksetchangerecorder.h:119
SetLocMoveRecord(LocID id, const Location &from, const Location &to)
Definition: picksetchangerecorder.h:72
#define mDeclMonitorableAssignment(clss)
like mDeclAbstractMonitorableAssignment but for non-abstract subclasses. Implements the clone() metho...
Definition: monitor.h:111
LocID beforeid_
Definition: picksetchangerecorder.h:95
Monitorable set of pick locations.
Definition: pickset.h:41
SetLocCreateRecord(LocID id, const Location &loc, LocID beforeid=LocID::getInvalid())
Definition: picksetchangerecorder.h:54
base class for recorder of changes in a Monitorable
Definition: monitorchangerecorder.h:20
Action
Definition: monitorchangerecorder.h:29
virtual Record * clone() const
Definition: picksetchangerecorder.h:61
SetChangeRecord(LocID id, const Location &loc)
Definition: picksetchangerecorder.h:41
LocID beforeid_
Definition: picksetchangerecorder.h:59
SetLocRemoveRecord(LocID id, const Location &loc, LocID beforeid)
Definition: picksetchangerecorder.h:90
Class that keeps one object per thread. This enables temporary passing of objects (such as strings) w...
Definition: perthreadrepos.h:26
Set::LocID LocID
Definition: picksetchangerecorder.h:111
Holds one change in a Pick::Set.
Definition: picksetchangerecorder.h:25
Definition: picklocation.h:19
Definition: picksetchangerecorder.h:68
Definition: monitorable.h:113
Set::LocID LocID
Definition: picksetchangerecorder.h:29
Keeps track of changes in a Pick::Set.
Definition: picksetchangerecorder.h:107
Location prevloc_
Definition: picksetchangerecorder.h:77