SRanipal C SDK  1.3.2.0
SRanipal C SDK document
Enumerations | Functions
ViveSR::anipal Namespace Reference

Enumerations

enum  AnipalStatus { ANIPAL_STATUS_ERROR, ANIPAL_STATUS_IDLE, ANIPAL_STATUS_WORKING }
 

Functions

int Initial (int anipalType, void *config)
 
int Release (int anipalType)
 
int GetStatus (int anipalType, AnipalStatus *status)
 
int SRanipal_GetVersion (char *&version)
 

Detailed Description

Animation pal

Enumeration Type Documentation

◆ AnipalStatus

An enum type of the status of the specific anipal engine.

Function Documentation

◆ GetStatus()

int ViveSR::anipal::GetStatus ( int  anipalType,
AnipalStatus status 
)

Gets the status of an anipal module.

Parameters
anipalTypeThe index of an anipal module.
statusThe status of an anipal module.
Returns
Indicates the resulting ViveSR::Error status of this method.

◆ Initial()

int ViveSR::anipal::Initial ( int  anipalType,
void *  config 
)

Invokes an anipal module.

Parameters
anipalTypeThe index of an anipal module.
config
Returns
Indicates the resulting ViveSR::Error status of this method.

◆ Release()

int ViveSR::anipal::Release ( int  anipalType)

Turn off and release the specific anipal engine.

Parameters
anipalTypeThe index of an anipal module.
Returns
Indicates the resulting ViveSR::Error status of this method.

◆ SRanipal_GetVersion()

int ViveSR::anipal::SRanipal_GetVersion ( char *&  version)

Gets the SRanipal version

Parameters
versionRepresented by four integer
Returns
Indicates the resulting ViveSR::Error status of this method.