Switchboard Extension SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
SwitchboardObjectResolver.hpp
1
//
2
// SwitchboardObjectResolver.hpp
3
// SwitchboardSDK
4
//
5
6
#pragma once
7
8
#include <string>
9
#include <switchboard/export.h>
10
11
namespace
switchboard {
12
13
class
SwitchboardObject
;
14
class
SwitchboardObjectStore;
15
23
class
SWITCHBOARDSDK_EXPORT SwitchboardObjectResolver {
24
public
:
28
static
SwitchboardObjectResolver&
getInstance
();
29
30
SwitchboardObjectResolver(
const
SwitchboardObjectResolver&) =
delete
;
31
SwitchboardObjectResolver& operator=(
const
SwitchboardObjectResolver&) =
delete
;
32
40
SwitchboardObject
*
getObject
(
const
std::string& objectID);
41
42
private
:
43
SwitchboardObjectResolver();
44
45
SwitchboardObjectStore* objectStore;
46
};
47
48
}
switchboard::SwitchboardObject
SwitchboardObject interface.
Definition
SwitchboardObject.hpp:31
switchboard::SwitchboardObjectResolver::getObject
SwitchboardObject * getObject(const std::string &objectID)
Resolves an object by its id (or URI).
switchboard::SwitchboardObjectResolver::getInstance
static SwitchboardObjectResolver & getInstance()
Returns the shared resolver instance.
SwitchboardSDK
include
switchboard_core
SwitchboardObjectResolver.hpp
Generated by
1.17.0