![]() |
ufe 6.2
Universal Front End is a DCC-agnostic component that will allow a DCC to browse and edit data in multiple data models
|
Typedefs | |
typedef std::shared_ptr< Selection > | Ptr |
Functions | |
const Ptr & | get (const std::string &name) |
void | remove (const std::string &name) |
typedef std::shared_ptr<Selection> Ufe::NamedSelection::Ptr |
Definition at line 34 of file namedSelection.h.
const Ptr & Ufe::NamedSelection::get | ( | const std::string & | name | ) |
This function can be used to create a named selection singleton that can be shared and used across all viewers and editors. The first call to get with a given name will create the selection singleton. Subsequent calls to get with the same name will return this selection singleton. This selection object can be used to pass around UFE data.
name | Name of the selection singleton. |
void Ufe::NamedSelection::remove | ( | const std::string & | name | ) |
If a named selection exists with the given name, it is removed from the internal cache. When the final shared_ptr to this selection is released it will be automatically destroyed.
name | Name of the selection singleton to remove. |