~iliaplatone/spacedrone.eu/inova-sis-pack

« back to all changes in this revision

Viewing changes to usr/include/ie_version.hpp

  • Committer: Ilia Platone
  • Date: 2022-11-15 16:19:28 UTC
  • Revision ID: git-v1:b9f4c8dff67bb705341db6a18f84a3d5f61c23ce
Initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Copyright (C) 2018-2019 Intel Corporation
 
2
// SPDX-License-Identifier: Apache-2.0
 
3
//
 
4
 
 
5
/**
 
6
 * @brief A header file that provides versioning information for the inference engine shared library
 
7
 * @file ie_version.hpp
 
8
 */
 
9
#pragma once
 
10
 
 
11
#include "ie_api.h"
 
12
 
 
13
namespace InferenceEngine {
 
14
 
 
15
/**
 
16
 * @struct Version
 
17
 * @brief  Represents version information that describes plugins and the inference engine runtime library
 
18
 */
 
19
#pragma pack(push, 1)
 
20
struct Version {
 
21
    /**
 
22
     * @brief An API version reflects the set of supported features
 
23
     */
 
24
    struct {
 
25
        int major;
 
26
        int minor;
 
27
    } apiVersion;
 
28
    /**
 
29
     * @brief A null terminated string with build number
 
30
     */
 
31
    const char * buildNumber;
 
32
    /**
 
33
     * @brief A null terminated description string
 
34
     */
 
35
    const char * description;
 
36
};
 
37
#pragma pack(pop)
 
38
 
 
39
/**
 
40
 * @brief Gets the current Inference Engine version
 
41
 * @return The current Inference Engine version
 
42
 */
 
43
INFERENCE_ENGINE_API(const Version*) GetInferenceEngineVersion() noexcept;
 
44
 
 
45
}  // namespace InferenceEngine