![]() |
Fove SDK
v0.16.1
|
Research API. More...
#include <FoveAPI.h>
Public Member Functions | |
ResearchHeadset ()=default | |
Creates an empty research headset. More... | |
ResearchHeadset (Fove_ResearchHeadset &headset) | |
Creates a headset from an existing C API object. More... | |
ResearchHeadset (ResearchHeadset &&other) | |
Move constructs a research headset. More... | |
~ResearchHeadset ()=default | |
Does nothing, the underlying C API object's lifecycle is tied to the headset is was created from. | |
Result< ResearchGaze > | getGaze () |
Wraps fove_ResearchHeadset_getGaze() | |
Result< BitmapImage > | getImage (const ImageType type) |
Wraps fove_ResearchHeadset_getImage() | |
ResearchHeadset & | operator= (ResearchHeadset &&other) |
Destroys the existing research headset if any, then moves the one referenced by other , if any, into this object. More... | |
Result | registerCapabilities (const ResearchCapabilities caps) |
Wraps fove_ResearchHeadset_registerCapabilities() | |
Result | unregisterCapabilities (const ResearchCapabilities caps) |
Wraps fove_ResearchHeadset_unregisterCapabilities() | |
![]() | |
Fove_ResearchHeadset * | getCObject () const |
Returns the underlying C type which the caller can use to invoke the C API directly, or null if not valid. | |
bool | isValid () const |
Returns true if this object is non-empty. More... | |
Research API.
This class is a wrapper around the C API's Fove_ResearchHeadset.
It is not intended for use in general-purpose software, eg. games, but rather for a labratory environment.
Using this class will limit the backwards compatibility of your program.
|
default |
Creates an empty research headset.
Please use Headset::getResearchHeadset() to get a valid research headset.
Fove::ResearchHeadset::ResearchHeadset | ( | Fove_ResearchHeadset & | headset | ) |
Creates a headset from an existing C API object.
This is not normally invoked directly, rather Headset::getResearchHeadset(), which wraps this, is typically used.
Fove::ResearchHeadset::ResearchHeadset | ( | ResearchHeadset && | other | ) |
Move constructs a research headset.
other | May be empty or non-empty. By return, it will be empty. |
ResearchHeadset& Fove::ResearchHeadset::operator= | ( | ResearchHeadset && | other | ) |
Destroys the existing research headset if any, then moves the one referenced by other
, if any, into this object.
other | May be empty or non-empty. By return, it will be empty. |