Simulated Reality SDK 7500c78d v1.30.2.51085 2024-04-26T11:23:03Z
Stable
Public Member Functions | Static Public Member Functions | List of all members
SR::ApplicationSense Class Referenceabstract

Sense class which shares information about SR Applications throughout the SR system and to applications. More...

#include <applicationsense.h>

Inheritance diagram for SR::ApplicationSense:
[legend]
Collaboration diagram for SR::ApplicationSense:
[legend]

Public Member Functions

virtual std::vector< std::string > getApplicationNames ()=0
 Get the names of all SR Applications connected to the server. More...
 
- Public Member Functions inherited from SR::Sense
void setCalibration (Transformation calibration)
 Sets a Transformation object to represent the sense's calibration with respect to the display. More...
 
Transformation getCalibration ()
 Gets callibration. More...
 
virtual ~Sense ()
 Ensures the proper destruction of the sense implementation. More...
 
virtual std::string getName ()=0
 Return the name of the sense. More...
 
virtual std::string getDescription ()=0
 Return a description of the sense. More...
 
virtual void start ()=0
 Start continuous updates, default behaviour is defined in the updater() function. More...
 
virtual void stop ()=0
 Stop continuous updates. More...
 

Static Public Member Functions

static ApplicationSensecreate (SRContext &context)
 Creates a functional ApplicationSense instance. More...
 

Additional Inherited Members

- Protected Attributes inherited from SR::Sense
Transformation calibration
 

Detailed Description

Sense class which shares information about SR Applications throughout the SR system and to applications.

Member Function Documentation

◆ create()

static ApplicationSense * SR::ApplicationSense::create ( SRContext context)
static

Creates a functional ApplicationSense instance.

Parameters
contextis the environment in which created senses are kept track of
Returns
ApplicationSense* which can provide information about other connected SR Application

◆ getApplicationNames()

virtual std::vector< std::string > SR::ApplicationSense::getApplicationNames ( )
pure virtual

Get the names of all SR Applications connected to the server.

Returns
A list of the names of all SR Applications connected to the server

The documentation for this class was generated from the following file: