Astra SDK  v2.1.3
astra_plugin.h
1 // This file is part of the Orbbec Astra SDK [https://orbbec3d.com]
2 // Copyright (c) 2015-2017 Orbbec 3D
3 //
4 // Licensed under the Apache License, Version 2.0 (the "License");
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
7 //
8 // http://www.apache.org/licenses/LICENSE-2.0
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
15 //
16 // Be excellent to each other.
17 #ifndef ASTRA_PLUGIN_H
18 #define ASTRA_PLUGIN_H
19 
20 #include "../astra_core.h"
21 #include "astra_plugin_callbacks.h"
22 #include "astra_pluginservice_proxy.h"
23 
25  astra_streamconnection_handle_t handle;
27 };
28 
30  astra_reader_t reader;
31  astra_callback_id_t callbackId;
32 };
33 
34 struct _astra_frame {
35  uint32_t byteLength;
36  astra_frame_index_t frameIndex;
37  union {
38  void* data;
39  uint64_t pad0;
40  };
41 };
42 
44  astra_version_info_t versionInfo;
45 };
46 
47 #endif /* ASTRA_PLUGIN_H */
Definition: astra_plugin.h:34
Definition: astra_plugin.h:29
Definition: astra_plugin.h:24
Definition: astra_plugin.h:43
Definition: astra_types.h:42
Definition: astra_types.h:47