Utility class to manage the wand stream. More...
#include <TiltFiveNative.hpp>
Public Member Functions | |
auto | consumeLastAsyncError () -> std::error_code |
Obtain and consume the last asynchronous error. More... | |
auto | listWands () -> Result< std::vector< std::shared_ptr< Wand > > > |
Obtain a list of tiltfive::Wand. More... | |
Utility class to manage the wand stream.
De-multiplexes the wand stream into abstract tiltfive::Wand objects that can be independently queried for their last known state.
See Using WandStreamHelper for usage.
Definition at line 923 of file TiltFiveNative.hpp.
|
inline |
Obtain and consume the last asynchronous error.
The connection process may produce errors asynchronously which can be detected by calling this.
Definition at line 1078 of file TiltFiveNative.hpp.
|
inline |
Obtain a list of tiltfive::Wand.
The tiltfive::WandStreamHelper maintains a stream reader thread while there are any outstanding references to the returned tiltfive::Wand objects, automatically terminating the stream when they go out of scope.
Definition at line 1089 of file TiltFiveNative.hpp.