Tilt Five NDK  1.4.1
TiltFiveNative.hpp File Reference

Main include for the Tilt Five™ C++ API Binder. More...

#include "TiltFiveNative.h"
#include "errors.hpp"
#include "result.hpp"
#include <algorithm>
#include <atomic>
#include <chrono>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <memory>
#include <mutex>
#include <set>
#include <string>
#include <thread>
#include <utility>
#include <vector>
Include dependency graph for TiltFiveNative.hpp:

Go to the source code of this file.

Data Structures

class  tiltfive::Client
 Client for communicating with the Tilt Five™ API. More...
 
class  tiltfive::Glasses
 Represents an instance of Tilt Five™ glasses. More...
 
class  tiltfive::GlassesConnectionHelper
 Utility class to automate the Glasses exclusive connection process. More...
 
class  tiltfive::WandStreamHelper
 Utility class to manage the wand stream. More...
 
class  tiltfive::ParamChangeListener
 Virtual base class for use with tiltfive::ParamChangeHelper. More...
 
class  tiltfive::ParamChangeHelper
 Utility class to track changes to parameters Using ParamChangeHelper. More...
 
class  tiltfive::Wand
 Represents an abstract instance of a Tilt Five™ wand Used with tiltfive::WandStreamHelper. More...
 

Enumerations

enum class  tiltfive::ConnectionState : int { ConnectionState::kNotExclusivelyConnected , ConnectionState::kReserved , ConnectionState::kConnected , ConnectionState::kDisconnected }
 Represents the exclusivity connection state of glasses. More...
 

Functions

auto tiltfive::obtainClient (const std::string &applicationId, const std::string &applicationVersion, void *platformContext, const uint8_t sdkType=0) -> Result< std::shared_ptr< Client > >
 Obtain an instance of the Tilt Five™ API client. More...
 
auto tiltfive::obtainGlasses (const std::string &identifier, const std::shared_ptr< Client > &client) -> Result< std::shared_ptr< Glasses > >
 Obtain an instance of the Tilt Five™ Glasses. More...
 
auto tiltfive::obtainWandStreamHelper (std::shared_ptr< Glasses > glasses, std::chrono::milliseconds pollTimeout) -> std::shared_ptr< WandStreamHelper >
 Internal utility function - Do not call directly. More...
 
auto tiltfive::obtainWand (T5_WandHandle handle, std::shared_ptr< WandStreamHelper > wandStreamHelper) -> std::shared_ptr< Wand >
 Internal utility function - Do not call directly. More...
 
auto tiltfive::obtainGlassesConnectionHelper (std::shared_ptr< Glasses > glasses, const std::string &displayName, std::chrono::milliseconds connectionPollInterval) -> std::unique_ptr< GlassesConnectionHelper >
 Internal utility function - Do not call directly. More...
 
auto tiltfive::obtainParamChangeHelper (std::shared_ptr< Client > client, std::weak_ptr< ParamChangeListener > listener, std::chrono::milliseconds pollInterval) -> std::unique_ptr< ParamChangeHelper >
 Internal utility function - Do not call directly. More...
 
std::ostreamoperator<< (std::ostream &os, const T5_WandReport &instance)
 Support for writing T5_WandReport to an std::ostream. More...
 
std::ostreamoperator<< (std::ostream &os, const T5_GlassesPose &instance)
 Support for writing T5_GlassesPose to an std::ostream. More...
 
std::ostreamoperator<< (std::ostream &os, const T5_ParamSys &instance)
 Support for writing T5_ParamSys to an std::ostream. More...
 
std::ostreamoperator<< (std::ostream &os, const T5_ParamGlasses &instance)
 Support for writing T5_ParamGlasses to an std::ostream. More...
 

Detailed Description

Main include for the Tilt Five™ C++ API Binder.

Definition in file TiltFiveNative.hpp.