... | ... | @@ -15,21 +15,21 @@ Proposed Design |
|
|
---
|
|
|
### Generalizing Operator
|
|
|
* The base class Operator should be moved out of smtk/model since operators need not only refer to models (export operators, meshing operators, etc..)
|
|
|
... We could add an Operator class in smtk/common, and make smtk/model/Operator a derived class of smtk/Common/Operator. (Yumin)
|
|
|
* We could add an Operator class in smtk/common, and make smtk/model/Operator a derived class of smtk/Common/Operator. (Yumin)
|
|
|
* Currently the operator assumes that it is defined by a single attribute definition - Is this sufficient or should it be defined by its own attribute system?
|
|
|
... One limitation with one attribute system for operators in a session is that we can't override an operator's spec with a new one, however an operator with its own attribute system seems to be overkill. (Yumin)
|
|
|
* One limitation with one attribute system for operators in a session is that we can't override an operator's spec with a new one, however an operator with its own attribute system seems to be overkill. (Yumin)
|
|
|
* Should Sessions know about Operators or should it be the other way around?
|
|
|
* If Operators where outside of Sessions, would it make the Sessions simpler/more manageable ?
|
|
|
* If Operators where outside of Sessions, would it make the Sessions simpler/more manageable ?
|
|
|
* Should Operators provide their own View Layout (maybe a default one?)?
|
|
|
... By default we are using instanced view, and for some polygon operators (create edge, edit edge, split edge), we already are using customized view layout. (Yumin)
|
|
|
* You may want an operator to look differently based on the Task at hand.
|
|
|
* By default we are using instanced view, and for some polygon operators (create edge, edit edge, split edge), we already are using customized view layout. (Yumin)
|
|
|
* You may want an operator to look differently based on the Task at hand.
|
|
|
* Operator's State should be one of the following:
|
|
|
* Not Ready to Run
|
|
|
* Ready to Run
|
|
|
* Running
|
|
|
* Completed
|
|
|
* Error (?)
|
|
|
... Combining Rob's comment: Not Ready, Queued, Running, Paused(Waiting), Completed. (Yumin)
|
|
|
* Combining Rob's comment: Not Ready, Queued, Running, Paused(Waiting), Completed. (Yumin)
|
|
|
* Operators produce status (is this straight text or a Logger?)
|
|
|
* Operators can be synchronous or asynchronous
|
|
|
* Operators can "lock" the resources (models, meshes, attribute systems) and resource components (mesh Sets, model entities, attributes) they are referring to
|
... | ... | |