return isValid();
}
-void ModuleBase_Operation::flushUpdated()
-{
- Events_Loop::loop()->flush(Events_Loop::eventByName(EVENT_OBJECT_UPDATED));
-}
-
-void ModuleBase_Operation::flushCreated()
-{
- Events_Loop::loop()->flush(Events_Loop::eventByName(EVENT_OBJECT_CREATED));
-}
-
FeaturePtr ModuleBase_Operation::createFeature(const bool theFlushMessage)
{
if (myParentFeature.get()) {
}
if (theFlushMessage)
- flushCreated();
+ Events_Loop::loop()->flush(Events_Loop::eventByName(EVENT_OBJECT_CREATED));
return myFeature;
}
/// Virtual method called after operation resume (see resume() method for more description)
virtual void resumeOperation() {}
- /// Send update message by loop
- void flushUpdated();
-
- /// Send created message by loop
- void flushCreated();
-
/// Creates an operation new feature
/// \param theFlushMessage the flag whether the create message should be flushed
/// \returns the created feature