SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
10 #ifndef smtk_model_operation_RemoveResource_h
11 #define smtk_model_operation_RemoveResource_h
13 #include "smtk/operation/XMLOperation.h"
38 bool ableToOperate()
override;
40 Result operateInternal()
override;
46 const char* xmlDescription()
const override;
The main namespace for the Simulation Modeling Tool Kit (SMTK).
Definition: doc.h:33
Remove an SMTK resource from its resource manager.
Definition: RemoveResource.h:24
bool threadSafe() const override
Linked resources and attribute resources need this to run on the main thread to update the UI properl...
Definition: RemoveResource.h:33
A specialization of smtk::operation::Operation for operations whose specifications are defined by an ...
Definition: XMLOperation.h:23
Operation is a base class for all SMTK operations.
Definition: Operation.h:61
#define smtkTypeMacro(...)
Add typedefs to a class for identifcation.
Definition: SharedFromThis.h:128
#define smtkSharedPtrCreateMacro(...)
A convenience macro for declaring shared_from_this and create methods.
Definition: SharedFromThis.h:267
#define smtkSuperclassMacro(...)
Add a typedef to the superclass of this class.
Definition: SharedFromThis.h:147
void generateSummary(Result &) override
Do not report success as the base class prints specific console messages after operateInternal() comp...
Definition: RemoveResource.h:44