vrclient: Introduce new Struct generator class.

CW-Bug-Id: #22729
This commit is contained in:
Rémi Bernon 2023-09-20 17:27:42 +02:00 committed by Arkadiusz Hiler
parent f835c3ab66
commit d4cefca096
79 changed files with 2332 additions and 161 deletions

View file

@ -200,13 +200,23 @@ void cppIVRSystem_IVRSystem_005_GetPropErrorNameFromEnum( struct cppIVRSystem_IV
void cppIVRSystem_IVRSystem_005_PollNextEvent( struct cppIVRSystem_IVRSystem_005_PollNextEvent_params *params )
{
struct cppIVRSystem_IVRSystem_005 *iface = (struct cppIVRSystem_IVRSystem_005 *)params->linux_side;
params->_ret = iface->PollNextEvent( params->pEvent );
VREvent_t lin_pEvent;
if (params->pEvent)
struct_VREvent_t_098_win_to_lin( params->pEvent, &lin_pEvent );
params->_ret = iface->PollNextEvent( params->pEvent ? &lin_pEvent : nullptr );
if (params->pEvent)
struct_VREvent_t_098_lin_to_win( &lin_pEvent, params->pEvent, -1 );
}
void cppIVRSystem_IVRSystem_005_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_005_PollNextEventWithPose_params *params )
{
struct cppIVRSystem_IVRSystem_005 *iface = (struct cppIVRSystem_IVRSystem_005 *)params->linux_side;
params->_ret = iface->PollNextEventWithPose( params->eOrigin, params->pEvent, params->pTrackedDevicePose );
VREvent_t lin_pEvent;
if (params->pEvent)
struct_VREvent_t_098_win_to_lin( params->pEvent, &lin_pEvent );
params->_ret = iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &lin_pEvent : nullptr, params->pTrackedDevicePose );
if (params->pEvent)
struct_VREvent_t_098_lin_to_win( &lin_pEvent, params->pEvent, -1 );
}
void cppIVRSystem_IVRSystem_005_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_005_GetEventTypeNameFromEnum_params *params )