MAK Legion API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
c_controls.h
Go to the documentation of this file.
1 /*********************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************************/
5 
9 #pragma once
10 
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
19 
21 typedef void(*C_ControlCallback)(void* usr, ControlHandle* controls, UInt32 count);
22 
29 
36 
43 
51 
60 
69 
79 
88 
95 
102 
103 
104 
116 #ifdef __cplusplus
117 }
118 #endif
119 
LEGIONRUNTIME_DLL LEG_ReturnCode legion_controlManager_addCallback(ControlManagerHandle manager, ControlType controlType, C_ControlCallback func, void *usr)
LEG_ReturnCode
Definition: c_api.h:61
unsigned int ControlType
Definition: c_api.h:44
LEGIONRUNTIME_DLL ParameterId legion_controlManager_parameterId(ControlManagerHandle manager, ControlType controlType, const char *parameterName)
unsigned int UInt32
Definition: c_api.h:53
LEGIONRUNTIME_DLL UInt32 legion_controlManager_addControl(ControlManagerHandle manager, ControlHandle instance)
void(* C_ControlCallback)(void *usr, ControlHandle *controls, UInt32 count)
Definition: c_controls.h:21
unsigned long long ControlManagerHandle
Definition: c_api.h:24
LEGIONRUNTIME_DLL LEG_ReturnCode legion_controlManager_getControls(ControlManagerHandle manager, ControlType controlType, ControlHandle **controls, UInt32 *count)
unsigned int ParameterId
Definition: c_api.h:42
LEGIONRUNTIME_DLL LEG_ReturnCode legion_controlManager_peekControls(ControlManagerHandle manager, ControlType controlType, ControlHandle **controls, UInt32 *count)
LEGIONRUNTIME_DLL ControlType legion_controlManager_registerControl(ControlManagerHandle manager, LEG_InteractionsDescriptor *descPtr)
LEGIONRUNTIME_DLL UInt16 legion_control_getTarget(ControlHandle controlInstance)
C API to get and set control paramter data Get control data from current frame.
LEGIONRUNTIME_DLL LEG_ReturnCode legion_control_setSource(ControlHandle controlInstance, UInt16 source)
C API to get and set control paramter data Get control data from current frame.
LEGIONRUNTIME_DLL LEG_ReturnCode legion_controlManager_removeCallback(ControlManagerHandle manager, ControlType controlType, C_ControlCallback func, void *usr)
Definition: c_interactions.h:28
LEGIONRUNTIME_DLL UInt16 legion_control_getSource(ControlHandle controlInstance)
C API to get and set control paramter data Get control data from current frame.
LEGIONRUNTIME_DLL UInt32 legion_control_getType(ControlHandle controlInstance)
C API to get and set control paramter data Get control data from current frame.
LEGIONRUNTIME_DLL ControlHandle legion_controlManager_createControl(ControlManagerHandle manager, ControlType type)
LEGIONRUNTIME_DLL LEG_ReturnCode legion_controlManager_removeInterest(ControlManagerHandle manager, ControlType controlType)
unsigned long long ControlHandle
Definition: c_api.h:28
LEGIONRUNTIME_DLL LEG_ReturnCode legion_controlManager_addInterest(ControlManagerHandle manager, ControlType controlType)
unsigned short UInt16
Definition: c_api.h:51
LEGIONRUNTIME_DLL LEG_ReturnCode legion_control_setTarget(ControlHandle controlInstance, UInt16 targe)
C API to get and set control paramter data Get control data from current frame.
#define LEGIONRUNTIME_DLL
Definition: legionDataStoreImpl/export.h:25

Document ID: Generated on Mon Mar 8 15:11:30 EST 2021 from SVN revision 225633
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)