#include <context.h>
Public Member Functions | |
rs_device * | get_device (int index) const override |
size_t | get_device_count () const override |
rs_context_base () | |
~rs_context_base () | |
Public Member Functions inherited from rs_context | |
virtual | ~rs_context () |
Static Public Member Functions | |
static rs_context * | acquire_instance () |
static void | release_instance () |
Public Attributes | |
std::shared_ptr< rsimpl::uvc::context > | context |
std::vector< std::shared_ptr< rs_device > > | devices |
Static Private Attributes | |
static std::string | api_version = std::string(rs_api_version.begin(),rs_api_version.end()) |
static rs_context * | instance = nullptr |
static std::mutex | instance_lock |
static int | ref_count = 0 |
rs_context_base::rs_context_base | ( | ) |
Definition at line 54 of file context.cpp.
rs_context_base::~rs_context_base | ( | ) |
Definition at line 112 of file context.cpp.
|
static |
Definition at line 93 of file context.cpp.
Implements rs_context.
Definition at line 122 of file context.cpp.
|
overridevirtual |
Implements rs_context.
Definition at line 117 of file context.cpp.
|
static |
Definition at line 103 of file context.cpp.
|
staticprivate |
std::shared_ptr<rsimpl::uvc::context> rs_context_base::context |
std::vector<std::shared_ptr<rs_device> > rs_context_base::devices |
|
staticprivate |