Astra SDK
v2.1.3
|
Stream Reader class 更多...
#include <StreamReader.hpp>
Public 成员函数 | |
StreamReader (astra_reader_t reader) | |
StreamReader (const StreamReader &reader) | |
StreamReader & | operator= (const StreamReader &reader) |
template<typename T > | |
T | stream () |
template<typename T > | |
T | stream (astra_stream_subtype_t subtype) |
void | add_listener (FrameListener &listener) |
add listener 更多... | |
void | remove_listener (FrameListener &listener) |
remove listener 更多... | |
bool | is_valid () |
bool | has_new_frame () |
Frame | get_latest_frame (int timeoutMillis=ASTRA_TIMEOUT_FOREVER) |
友元 | |
bool | operator== (const StreamReader &lhs, const StreamReader &rhs) |
Stream Reader class
Stream Reader class StreamReader.
|
inline |
add listener
Registers a callback function to StreamReader.
[in] | listener |
|
inline |
remove listener
Unregisters the callback function.
[in] | listener |