SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
An operation observer to apply hints from operation results. More...
#include <pqSMTKOperationHintsBehavior.h>
Classes | |
class | pqInternal |
Public Member Functions | |
pqSMTKOperationHintsBehavior (QObject *parent=nullptr) | |
int | processHints (const smtk::operation::Operation &operation, smtk::operation::EventType event, smtk::operation::Operation::Result result) |
Called when an operation completes in order to apply hints in its result. | |
void | removeEphemera (const std::string &changeSource, smtk::view::Selection::Ptr selection) |
Called when an application selection changes in order to remove ephemera. | |
Static Public Member Functions | |
static pqSMTKOperationHintsBehavior * | instance (QObject *parent) |
Protected Slots | |
virtual void | observeWrapper (pqSMTKWrapper *, pqServer *) |
Called when a new client-server connection is added. | |
virtual void | unobserveWrapper (pqSMTKWrapper *, pqServer *) |
Called when a client-server connection is removed. | |
Protected Attributes | |
pqInternal * | m_p |
An operation observer to apply hints from operation results.
This installs an operation observer on each pqSMTKWrapper's operation manager. Whenever an operation is run, the observer examines hints referenced by the the operation's results and takes action.