SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
10 #ifndef smtk_view_ResourcePhraseModel_h
11 #define smtk_view_ResourcePhraseModel_h
13 #include "smtk/view/PhraseModel.h"
15 #include "smtk/view/Configuration.h"
47 bool setResourceFilters(
const std::multimap<std::string, std::string>& src);
56 int handleOperationEvent(
59 const smtk::operation::Operation::Result& res)
override;
61 void processResource(
const Resource::Ptr& rsrc,
bool adding)
override;
62 virtual void triggerModified(
const Resource::Ptr& rsrc);
The main namespace for the Simulation Modeling Tool Kit (SMTK).
Definition: doc.h:33
A view Manager is responsible for creating new views (eventually) as well as view components such as ...
Definition: Manager.h:43
PhraseModelEvent
Events that can be observed on an smtk::view::PhraseModel.
Definition: PhraseModelObserver.h:26
smtk::shared_ptr< smtk::view::PhraseModel > PhraseModelPtr
Definition: PublicPointerDefs.h:637
PhraseModelObserver Observer
Events that alter the phrase model trigger callbacks of this type.
Definition: PhraseModel.h:105
Hold and maintain a descriptive phrase hierarchy.
Definition: PhraseModel.h:101
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
Configure a view, specifying types and attributes, without specifying a UI library.
Definition: Configuration.h:28
smtk::shared_ptr< smtk::view::Configuration > ConfigurationPtr
Definition: PublicPointerDefs.h:649
#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
Present phrases describing a set of resources held by one or more resource managers.
Definition: ResourcePhraseModel.h:25
Configure one item in a view, which may contain children.
Definition: Configuration.h:32
An abstract base class for SMTK resources.
Definition: Resource.h:72
smtk::shared_ptr< smtk::view::DescriptivePhrase > DescriptivePhrasePtr
Definition: PublicPointerDefs.h:627
EventType
Enumerate events that an operation may encounter.
Definition: Observer.h:30