OrbbecSDK
2.8.7
OrbbecSDK: Software-Development-Kit for Orbbec 3D Cameras
Toggle main menu visibility
Loading...
Searching...
No Matches
include
libobsensor
hpp
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
10
#include "
libobsensor/h/Version.h
"
11
12
namespace
ob
{
13
class
Version
{
14
public
:
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
Version.h
Functions for retrieving the SDK version number information.
ob_get_patch_version
OB_EXPORT int ob_get_patch_version(void)
Get the SDK patch version number.
ob_get_major_version
OB_EXPORT int ob_get_major_version(void)
Get the SDK major version number.
ob_get_version
OB_EXPORT int ob_get_version(void)
Get the SDK version number.
ob_get_stage_version
OB_EXPORT const char * ob_get_stage_version(void)
Get the SDK stage version.
ob_get_minor_version
OB_EXPORT int ob_get_minor_version(void)
Get the SDK minor version number.
ob::Version
Definition
Version.hpp:13
ob::Version::getStageVersion
static const char * getStageVersion()
Get the stage version of the SDK.
Definition
Version.hpp:57
ob::Version::getMinor
static int getMinor()
Get the minor version number of the SDK.
Definition
Version.hpp:38
ob::Version::getMajor
static int getMajor()
Get the major version number of the SDK.
Definition
Version.hpp:29
ob::Version::getPatch
static int getPatch()
Get the patch version number of the SDK.
Definition
Version.hpp:47
ob::Version::getVersion
static int getVersion()
Get the full version number of the SDK.
Definition
Version.hpp:21
ob
Definition
Context.hpp:22
Generated on
for OrbbecSDK by
1.17.0