ufe 5.5
Universal Front End is a DCC-agnostic component that will allow a DCC to browse and edit data in multiple data models
|
Base class for NodeDefHandler interface. More...
#include <nodeDefHandler.h>
Public Types | |
typedef std::shared_ptr< NodeDefHandler > | Ptr |
Public Member Functions | |
NodeDefHandler () | |
Constructor. More... | |
NodeDefHandler (const NodeDefHandler &)=default | |
Default copy constructor. More... | |
virtual | ~NodeDefHandler () |
Destructor. More... | |
virtual Ufe::NodeDef::Ptr | definition (const Ufe::SceneItem::Ptr &item) const =0 |
Returns the node definition interface for a provided SceneItem. Returns a. More... | |
virtual Ufe::NodeDef::Ptr | definition (const std::string &type) const =0 |
Returns the node definition interface for a provided type. Returns a nullptr. More... | |
virtual Ufe::NodeDefs | definitions (const std::string &category=kNodeDefCategoryAll) const =0 |
Returns the available node definitions for the provided category. More... | |
Static Public Attributes | |
static constexpr char | kNodeDefCategoryAll [] = "All" |
Base class for NodeDefHandler interface.
This base class defines an interface for retrieving node definition interfaces.
Implementers of this class will need to provide a means of retrieving classes derived from NodeDef. A specific instance of this derived NodeDef will need to be retrievable through the definition function which can be called either by SceneItem::Ptr or by type. Additionally, all available derived NodeDef classes will need to be obtainable through the definitions function.
Definition at line 36 of file nodeDefHandler.h.
typedef std::shared_ptr<NodeDefHandler> Ufe::NodeDefHandler::Ptr |
Definition at line 39 of file nodeDefHandler.h.
Ufe::NodeDefHandler::NodeDefHandler | ( | ) |
Constructor.
|
default |
Default copy constructor.
|
virtual |
Destructor.
|
pure virtual |
Returns the node definition interface for a provided type. Returns a nullptr.
|
pure virtual |
Returns the node definition interface for a provided SceneItem. Returns a.
|
pure virtual |
Returns the available node definitions for the provided category.
|
staticconstexpr |
Definition at line 41 of file nodeDefHandler.h.