OrbbecSDK 2.5.5
OrbbecSDK: Software-Development-Kit for Orbbec 3D Cameras
Loading...
Searching...
No Matches
Version.hpp
Go to the documentation of this file.
1// Copyright (c) Orbbec Inc. All Rights Reserved.
2// Licensed under the MIT License.
3
8#pragma once
9
11
12namespace ob {
13class Version {
14public:
21 static int getVersion() {
22 return ob_get_version();
23 }
24
29 static int getMajor() {
30 return ob_get_major_version();
31 }
32
38 static int getMinor() {
39 return ob_get_minor_version();
40 }
41
47 static int getPatch() {
48 return ob_get_patch_version();
49 }
50
57 static const char *getStageVersion() {
58 return ob_get_stage_version();
59 }
60};
61} // namespace ob
62
Functions for retrieving the SDK version number information.
OB_EXPORT int ob_get_patch_version(void)
Get the SDK patch version number.
OB_EXPORT int ob_get_major_version(void)
Get the SDK major version number.
OB_EXPORT int ob_get_version(void)
Get the SDK version number.
OB_EXPORT const char * ob_get_stage_version(void)
Get the SDK stage version.
OB_EXPORT int ob_get_minor_version(void)
Get the SDK minor version number.
static const char * getStageVersion()
Get the stage version of the SDK.
Definition Version.hpp:57
static int getMinor()
Get the minor version number of the SDK.
Definition Version.hpp:38
static int getMajor()
Get the major version number of the SDK.
Definition Version.hpp:29
static int getPatch()
Get the patch version number of the SDK.
Definition Version.hpp:47
static int getVersion()
Get the full version number of the SDK.
Definition Version.hpp:21
Definition Context.hpp:19