|
Switchboard Extension SDK
|
Resolves Switchboard objects by their id. More...
#include <SwitchboardObjectResolver.hpp>
Public Member Functions | |
| SwitchboardObjectResolver (const SwitchboardObjectResolver &)=delete | |
| SwitchboardObjectResolver & | operator= (const SwitchboardObjectResolver &)=delete |
| SwitchboardObject * | getObject (const std::string &objectID) |
| Resolves an object by its id (or URI). | |
Static Public Member Functions | |
| static SwitchboardObjectResolver & | getInstance () |
| Returns the shared resolver instance. | |
Resolves Switchboard objects by their id.
Part of the extension-facing API. Lets extension code obtain a pointer to another object managed by the SDK (for example, a sibling node that an audio player should synchronize with) without depending on internal SDK headers.
| SwitchboardObject * switchboard::SwitchboardObjectResolver::getObject | ( | const std::string & | objectID | ) |
Resolves an object by its id (or URI).
| objectID | The id (or URI) of the object to resolve. |