Simulated Reality SDK 7500c78d v1.30.2.51085 2024-04-26T11:23:03Z
Stable
Classes | Namespaces | Enumerations
systemevent.h File Reference
#include "sr/types.h"
#include <stdint.h>
#include <string>
Include dependency graph for systemevent.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SR_systemEvent
 C-compatible struct containing a system-wide event. More...
 
class  SR::SystemEvent
 Class containing dynamic-length event messages. More...
 

Namespaces

namespace  SR
 Namespace containing all C++ Simulated Reality classes.
 

Enumerations

enum  SR_eventType : uint64_t {
  Info = 0 , ContextInvalid = 1 , SRUnavailable = 2 , SRRestored = 3 ,
  USBNotConnected = 4 , USBNotConnectedResolved = 5 , DisplayNotConnected = 6 , DisplayNotConnectedResolved = 7 ,
  Duplicated = 8 , DuplicatedResolved = 9 , NonNativeResolution = 10 , NonNativeResolutionResolved = 11 ,
  DeviceConnectedAndReady = 12 , DeviceDisconnected = 13 , LensOn = 14 , LensOff = 15 ,
  UserFound = 16 , UserLost = 17
}
 

Enumeration Type Documentation

◆ SR_eventType

enum SR_eventType : uint64_t

Copyright (C) 2022 Dimenco

This software has been provided under the Dimenco EULA. (End User License Agreement) You can find the agreement at https://www.dimenco.eu/eula

This source code is considered Protected Code under the definitions of the EULA.

Enumerator
Info 

The application is being informed of some changes to or within the system that do not affect it directly.

ContextInvalid 

Context needs to be re-initialized for the application to recover.

SRUnavailable 

Application should only display 2D content because SR content will not be experienced as intended (The lens could be forcefully deactivated)

SRRestored 

Application can display SR content again after an occurrence of SR_eventType::SRUnavailable.

USBNotConnected 

SR Device's USB cable is not connected.

USBNotConnectedResolved 

SR Device's USB cable has been successfully connected after an occurance of SR_eventType::USBNotConnected.

DisplayNotConnected 

SR Device's display cable is not connected.

DisplayNotConnectedResolved 

SR Device's display cable has been successfully connected after an occurrence of SR_eventType::DisplayNotConnected.

Duplicated 

SR Display is in duplicated mode and can not be used by SR applications to show SR content.

DuplicatedResolved 

SR Display is in extended mode and can now be used by SR applications to show SR content after an occurrence of SR_eventType::Duplicated.

NonNativeResolution 

SR Display is configured to use a non-native resolution and can not be used by SR applications to show SR content.

NonNativeResolutionResolved 

SR Display is configured to use the correct resolution and can now be used by SR applications to show SR content after an occurrence of SR_eventType::NonNativeResolution.

DeviceConnectedAndReady 

SR Device is connected and ready to use.

DeviceDisconnected 

SR Device is disconnected and can not be used.

LensOn 

The lens of the SR device has been enabled.

LensOff 

The lens of the SR device has been disabled.

UserFound 

The user is being tracked by the Eyetracker.

UserLost 

The user has been lost by the Eyetracker.