vrclient: Generate linux interface structs.

CW-Bug-Id: #22729
This commit is contained in:
Rémi Bernon 2023-09-28 10:22:41 +02:00 committed by Arkadiusz Hiler
parent a1445b757d
commit 468731b011
215 changed files with 11888 additions and 3709 deletions

View file

@ -9,104 +9,151 @@ extern "C" {
#ifdef __cplusplus
extern "C" {
#endif
struct cppIVRChaperoneSetup_IVRChaperoneSetup_006
{
#ifdef __cplusplus
virtual bool CommitWorkingCopy( uint32_t ) = 0;
virtual void RevertWorkingCopy( ) = 0;
virtual bool GetWorkingPlayAreaSize( float *, float * ) = 0;
virtual bool GetWorkingPlayAreaRect( HmdQuad_t * ) = 0;
virtual bool GetWorkingCollisionBoundsInfo( HmdQuad_t *, uint32_t * ) = 0;
virtual bool GetLiveCollisionBoundsInfo( HmdQuad_t *, uint32_t * ) = 0;
virtual bool GetWorkingSeatedZeroPoseToRawTrackingPose( HmdMatrix34_t * ) = 0;
virtual bool GetWorkingStandingZeroPoseToRawTrackingPose( HmdMatrix34_t * ) = 0;
virtual void SetWorkingPlayAreaSize( float, float ) = 0;
virtual void SetWorkingCollisionBoundsInfo( HmdQuad_t *, uint32_t ) = 0;
virtual void SetWorkingPerimeter( HmdVector2_t *, uint32_t ) = 0;
virtual void SetWorkingSeatedZeroPoseToRawTrackingPose( const HmdMatrix34_t * ) = 0;
virtual void SetWorkingStandingZeroPoseToRawTrackingPose( const HmdMatrix34_t * ) = 0;
virtual void ReloadFromDisk( uint32_t ) = 0;
virtual bool GetLiveSeatedZeroPoseToRawTrackingPose( HmdMatrix34_t * ) = 0;
virtual bool ExportLiveToBuffer( char *, uint32_t * ) = 0;
virtual bool ImportFromBufferToWorking( const char *, uint32_t ) = 0;
virtual void ShowWorkingSetPreview( ) = 0;
virtual void HideWorkingSetPreview( ) = 0;
virtual void RoomSetupStarting( ) = 0;
#endif /* __cplusplus */
};
void cppIVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy_params *params )
{
params->_ret = ((IVRChaperoneSetup*)params->linux_side)->CommitWorkingCopy((vr::EChaperoneConfigFile)params->configFile);
struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side;
params->_ret = iface->CommitWorkingCopy( params->configFile );
}
void cppIVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy_params *params )
{
((IVRChaperoneSetup*)params->linux_side)->RevertWorkingCopy();
struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side;
iface->RevertWorkingCopy( );
}
void cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize_params *params )
{
params->_ret = ((IVRChaperoneSetup*)params->linux_side)->GetWorkingPlayAreaSize((float *)params->pSizeX, (float *)params->pSizeZ);
struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side;
params->_ret = iface->GetWorkingPlayAreaSize( params->pSizeX, params->pSizeZ );
}
void cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect_params *params )
{
params->_ret = ((IVRChaperoneSetup*)params->linux_side)->GetWorkingPlayAreaRect((vr::HmdQuad_t *)params->rect);
struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side;
params->_ret = iface->GetWorkingPlayAreaRect( params->rect );
}
void cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo_params *params )
{
params->_ret = ((IVRChaperoneSetup*)params->linux_side)->GetWorkingCollisionBoundsInfo((vr::HmdQuad_t *)params->pQuadsBuffer, (uint32_t *)params->punQuadsCount);
struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side;
params->_ret = iface->GetWorkingCollisionBoundsInfo( params->pQuadsBuffer, params->punQuadsCount );
}
void cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo_params *params )
{
params->_ret = ((IVRChaperoneSetup*)params->linux_side)->GetLiveCollisionBoundsInfo((vr::HmdQuad_t *)params->pQuadsBuffer, (uint32_t *)params->punQuadsCount);
struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side;
params->_ret = iface->GetLiveCollisionBoundsInfo( params->pQuadsBuffer, params->punQuadsCount );
}
void cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose_params *params )
{
params->_ret = ((IVRChaperoneSetup*)params->linux_side)->GetWorkingSeatedZeroPoseToRawTrackingPose((vr::HmdMatrix34_t *)params->pmatSeatedZeroPoseToRawTrackingPose);
struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side;
params->_ret = iface->GetWorkingSeatedZeroPoseToRawTrackingPose( params->pmatSeatedZeroPoseToRawTrackingPose );
}
void cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose_params *params )
{
params->_ret = ((IVRChaperoneSetup*)params->linux_side)->GetWorkingStandingZeroPoseToRawTrackingPose((vr::HmdMatrix34_t *)params->pmatStandingZeroPoseToRawTrackingPose);
struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side;
params->_ret = iface->GetWorkingStandingZeroPoseToRawTrackingPose( params->pmatStandingZeroPoseToRawTrackingPose );
}
void cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize_params *params )
{
((IVRChaperoneSetup*)params->linux_side)->SetWorkingPlayAreaSize((float)params->sizeX, (float)params->sizeZ);
struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side;
iface->SetWorkingPlayAreaSize( params->sizeX, params->sizeZ );
}
void cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo_params *params )
{
((IVRChaperoneSetup*)params->linux_side)->SetWorkingCollisionBoundsInfo((vr::HmdQuad_t *)params->pQuadsBuffer, (uint32_t)params->unQuadsCount);
struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side;
iface->SetWorkingCollisionBoundsInfo( params->pQuadsBuffer, params->unQuadsCount );
}
void cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter_params *params )
{
((IVRChaperoneSetup*)params->linux_side)->SetWorkingPerimeter((vr::HmdVector2_t *)params->pPointBuffer, (uint32_t)params->unPointCount);
struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side;
iface->SetWorkingPerimeter( params->pPointBuffer, params->unPointCount );
}
void cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose_params *params )
{
((IVRChaperoneSetup*)params->linux_side)->SetWorkingSeatedZeroPoseToRawTrackingPose((const vr::HmdMatrix34_t *)params->pMatSeatedZeroPoseToRawTrackingPose);
struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side;
iface->SetWorkingSeatedZeroPoseToRawTrackingPose( params->pMatSeatedZeroPoseToRawTrackingPose );
}
void cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose_params *params )
{
((IVRChaperoneSetup*)params->linux_side)->SetWorkingStandingZeroPoseToRawTrackingPose((const vr::HmdMatrix34_t *)params->pMatStandingZeroPoseToRawTrackingPose);
struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side;
iface->SetWorkingStandingZeroPoseToRawTrackingPose( params->pMatStandingZeroPoseToRawTrackingPose );
}
void cppIVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk_params *params )
{
((IVRChaperoneSetup*)params->linux_side)->ReloadFromDisk((vr::EChaperoneConfigFile)params->configFile);
struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side;
iface->ReloadFromDisk( params->configFile );
}
void cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose_params *params )
{
params->_ret = ((IVRChaperoneSetup*)params->linux_side)->GetLiveSeatedZeroPoseToRawTrackingPose((vr::HmdMatrix34_t *)params->pmatSeatedZeroPoseToRawTrackingPose);
struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side;
params->_ret = iface->GetLiveSeatedZeroPoseToRawTrackingPose( params->pmatSeatedZeroPoseToRawTrackingPose );
}
void cppIVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer_params *params )
{
params->_ret = ((IVRChaperoneSetup*)params->linux_side)->ExportLiveToBuffer((char *)params->pBuffer, (uint32_t *)params->pnBufferLength);
struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side;
params->_ret = iface->ExportLiveToBuffer( params->pBuffer, params->pnBufferLength );
}
void cppIVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking_params *params )
{
params->_ret = ((IVRChaperoneSetup*)params->linux_side)->ImportFromBufferToWorking((const char *)params->pBuffer, (uint32_t)params->nImportFlags);
struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side;
params->_ret = iface->ImportFromBufferToWorking( params->pBuffer, params->nImportFlags );
}
void cppIVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview_params *params )
{
((IVRChaperoneSetup*)params->linux_side)->ShowWorkingSetPreview();
struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side;
iface->ShowWorkingSetPreview( );
}
void cppIVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview_params *params )
{
((IVRChaperoneSetup*)params->linux_side)->HideWorkingSetPreview();
struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side;
iface->HideWorkingSetPreview( );
}
void cppIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting_params *params )
{
((IVRChaperoneSetup*)params->linux_side)->RoomSetupStarting();
struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side;
iface->RoomSetupStarting( );
}
#ifdef __cplusplus