Astra SDK  v2.1.3
| 函数
astra core apis

class  astra::DataStream
 Data Stream 更多...
 
class  astra::Frame
 Frame class 更多...
 
class  astra::FrameListener
 Frame Listener class 更多...
 
class  astra::StreamDescription
 Stream Description class 更多...
 
class  astra::StreamReader
 Stream Reader class 更多...
 
class  astra::StreamSet
 Stream Set Class 更多...
 

函数

astra_status_t astra::initialize ()
 Initializes the library. 更多...
 
astra_status_t astra::terminate ()
 Terminate the library, destroying all its streams. 更多...
 

详细描述

函数说明

◆ initialize()

astra_status_t astra::initialize ( )
inline

◆ terminate()

astra_status_t astra::terminate ( )
inline

Terminate the library, destroying all its streams.

This function must be called when library not used, otherwise there will be problems when re-initialize it.And do not call any other function after calling this method.

示例
ColorReaderEventCPP\main.cpp, ColorizedBodyViewer-SFML\main.cpp, DepthReaderEventCPP\main.cpp, MaskedColorViewer-SFML\main.cpp, MultiSensorViewer-SFML\main.cpp, SimpleBodyViewer-SFML\main.cpp, SimpleColorViewer-SFML\main.cpp, SimpleDepthViewer-SFML\main.cpp, SimpleHandViewer-SFML\main.cpp , 以及 SimpleStreamViewer-SFML\main.cpp.