le_avdata_interface.h
Go to the documentation of this file.
1 /*
2  * ====================== WARNING ======================
3  *
4  * THE CONTENTS OF THIS FILE HAVE BEEN AUTO-GENERATED.
5  * DO NOT MODIFY IN ANY WAY.
6  *
7  * ====================== WARNING ======================
8  */
9 
93 #ifndef LE_AVDATA_INTERFACE_H_INCLUDE_GUARD
94 #define LE_AVDATA_INTERFACE_H_INCLUDE_GUARD
95 
96 
97 #include "legato.h"
98 
99 //--------------------------------------------------------------------------------------------------
110 //--------------------------------------------------------------------------------------------------
112 (
113  void
114 );
115 
116 //--------------------------------------------------------------------------------------------------
127 //--------------------------------------------------------------------------------------------------
129 (
130  void
131 );
132 
133 
134 //--------------------------------------------------------------------------------------------------
138 //--------------------------------------------------------------------------------------------------
139 typedef struct le_avdata_AssetInstance* le_avdata_AssetInstanceRef_t;
140 
141 
142 //--------------------------------------------------------------------------------------------------
146 //--------------------------------------------------------------------------------------------------
147 #define LE_AVDATA_ASSET_NAME_LEN 47
148 
149 
150 //--------------------------------------------------------------------------------------------------
154 //--------------------------------------------------------------------------------------------------
155 #define LE_AVDATA_FIELD_NAME_LEN 47
156 
157 
158 //--------------------------------------------------------------------------------------------------
162 //--------------------------------------------------------------------------------------------------
163 #define LE_AVDATA_STRING_VALUE_LEN 255
164 
165 
166 //--------------------------------------------------------------------------------------------------
170 //--------------------------------------------------------------------------------------------------
171 #define LE_AVDATA_BINARY_VALUE_LEN 255
172 
173 
174 //--------------------------------------------------------------------------------------------------
178 //--------------------------------------------------------------------------------------------------
179 typedef struct le_avdata_FieldEventHandler* le_avdata_FieldEventHandlerRef_t;
180 
181 
182 //--------------------------------------------------------------------------------------------------
190 //--------------------------------------------------------------------------------------------------
191 typedef void (*le_avdata_FieldHandlerFunc_t)
192 (
194  const char* fieldName,
195  void* contextPtr
196 );
197 
198 //--------------------------------------------------------------------------------------------------
204 //--------------------------------------------------------------------------------------------------
206 (
209 
210  const char* fieldName,
212 
213  le_avdata_FieldHandlerFunc_t handlerPtr,
215 
216  void* contextPtr
218 );
219 
220 //--------------------------------------------------------------------------------------------------
224 //--------------------------------------------------------------------------------------------------
226 (
229 );
230 
231 //--------------------------------------------------------------------------------------------------
239 //--------------------------------------------------------------------------------------------------
241 (
242  const char* assetName
244 );
245 
246 //--------------------------------------------------------------------------------------------------
252 //--------------------------------------------------------------------------------------------------
253 void le_avdata_Delete
254 (
257 );
258 
259 //--------------------------------------------------------------------------------------------------
265 //--------------------------------------------------------------------------------------------------
266 void le_avdata_GetInt
267 (
270 
271  const char* fieldName,
273 
274  int32_t* valuePtr
276 );
277 
278 //--------------------------------------------------------------------------------------------------
284 //--------------------------------------------------------------------------------------------------
285 void le_avdata_SetInt
286 (
289 
290  const char* fieldName,
292 
293  int32_t value
295 );
296 
297 //--------------------------------------------------------------------------------------------------
303 //--------------------------------------------------------------------------------------------------
305 (
308 
309  const char* fieldName,
311 
312  float* valuePtr
314 );
315 
316 //--------------------------------------------------------------------------------------------------
322 //--------------------------------------------------------------------------------------------------
324 (
327 
328  const char* fieldName,
330 
331  float value
333 );
334 
335 //--------------------------------------------------------------------------------------------------
341 //--------------------------------------------------------------------------------------------------
343 (
346 
347  const char* fieldName,
349 
350  bool* valuePtr
352 );
353 
354 //--------------------------------------------------------------------------------------------------
360 //--------------------------------------------------------------------------------------------------
362 (
365 
366  const char* fieldName,
368 
369  bool value
371 );
372 
373 //--------------------------------------------------------------------------------------------------
379 //--------------------------------------------------------------------------------------------------
381 (
384 
385  const char* fieldName,
387 
388  char* value,
390 
391  size_t valueNumElements
393 );
394 
395 //--------------------------------------------------------------------------------------------------
401 //--------------------------------------------------------------------------------------------------
403 (
406 
407  const char* fieldName,
409 
410  const char* value
412 );
413 
414 //--------------------------------------------------------------------------------------------------
420 //--------------------------------------------------------------------------------------------------
422 (
425 
426  const char* fieldName,
428 
429  uint8_t* valuePtr,
431 
432  size_t* valueNumElementsPtr
434 );
435 
436 //--------------------------------------------------------------------------------------------------
442 //--------------------------------------------------------------------------------------------------
444 (
447 
448  const char* fieldName,
450 
451  const uint8_t* valuePtr,
453 
454  size_t valueNumElements
456 );
457 
458 
459 #endif // LE_AVDATA_INTERFACE_H_INCLUDE_GUARD
460 
void le_avdata_Delete(le_avdata_AssetInstanceRef_t instRef)
void le_avdata_SetBool(le_avdata_AssetInstanceRef_t instRef, const char *fieldName, bool value)
void le_avdata_RemoveFieldEventHandler(le_avdata_FieldEventHandlerRef_t addHandlerRef)
void le_avdata_GetString(le_avdata_AssetInstanceRef_t instRef, const char *fieldName, char *value, size_t valueNumElements)
void le_avdata_SetBinary(le_avdata_AssetInstanceRef_t instRef, const char *fieldName, const uint8_t *valuePtr, size_t valueNumElements)
void(* le_avdata_FieldHandlerFunc_t)(le_avdata_AssetInstanceRef_t instRef, const char *fieldName, void *contextPtr)
Definition: le_avdata_interface.h:192
void le_avdata_DisconnectService(void)
struct le_avdata_AssetInstance * le_avdata_AssetInstanceRef_t
Definition: le_avdata_interface.h:139
void le_avdata_ConnectService(void)
void le_avdata_SetFloat(le_avdata_AssetInstanceRef_t instRef, const char *fieldName, float value)
void le_avdata_GetFloat(le_avdata_AssetInstanceRef_t instRef, const char *fieldName, float *valuePtr)
void le_avdata_GetBinary(le_avdata_AssetInstanceRef_t instRef, const char *fieldName, uint8_t *valuePtr, size_t *valueNumElementsPtr)
struct le_avdata_FieldEventHandler * le_avdata_FieldEventHandlerRef_t
Definition: le_avdata_interface.h:179
void le_avdata_GetInt(le_avdata_AssetInstanceRef_t instRef, const char *fieldName, int32_t *valuePtr)
le_avdata_AssetInstanceRef_t le_avdata_Create(const char *assetName)
le_avdata_FieldEventHandlerRef_t le_avdata_AddFieldEventHandler(le_avdata_AssetInstanceRef_t instRef, const char *fieldName, le_avdata_FieldHandlerFunc_t handlerPtr, void *contextPtr)
void le_avdata_GetBool(le_avdata_AssetInstanceRef_t instRef, const char *fieldName, bool *valuePtr)
void le_avdata_SetString(le_avdata_AssetInstanceRef_t instRef, const char *fieldName, const char *value)
void le_avdata_SetInt(le_avdata_AssetInstanceRef_t instRef, const char *fieldName, int32_t value)