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;
62 virtual void processResource(
const Resource::Ptr& rsrc,
bool adding);
63 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:40
PhraseModelEvent
Events that can be observed on an smtk::view::PhraseModel.
Definition: PhraseModelObserver.h:26
EventType
Enumerate events that the resource manager may encounter.
Definition: Observer.h:32
smtk::shared_ptr< smtk::view::PhraseModel > PhraseModelPtr
Definition: PublicPointerDefs.h:630
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:51
#define smtkTypeMacro(...)
Add typedefs to a class for identifcation.
Definition: SharedFromThis.h:51
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:642
#define smtkSharedPtrCreateMacro(...)
A convenience macro for declaring shared_from_this and create methods.
Definition: SharedFromThis.h:207
#define smtkSuperclassMacro(...)
Add a typedef to the superclass of this class.
Definition: SharedFromThis.h:87
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:59
smtk::shared_ptr< smtk::view::DescriptivePhrase > DescriptivePhrasePtr
Definition: PublicPointerDefs.h:620
EventType
Enumerate events that an operation may encounter.
Definition: Observer.h:30