|
HDK
|
#include "rtcore_common.h"
Include dependency graph for rtcore_device.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Typedefs | |
| typedef typedefRTC_NAMESPACE_BEGIN struct RTCDeviceTy * | RTCDevice |
| typedef void(* | RTCErrorFunction )(void *userPtr, enum RTCError code, const char *str) |
| typedef bool(* | RTCMemoryMonitorFunction )(void *ptr, ssize_t bytes, bool post) |
Functions | |
| RTC_API RTCDevice | rtcNewDevice (const char *config) |
| RTC_API void | rtcRetainDevice (RTCDevice device) |
| RTC_API void | rtcReleaseDevice (RTCDevice device) |
| RTC_API ssize_t | rtcGetDeviceProperty (RTCDevice device, enum RTCDeviceProperty prop) |
| RTC_API void | rtcSetDeviceProperty (RTCDevice device, const enum RTCDeviceProperty prop, ssize_t value) |
| RTC_API enum RTCError | rtcGetDeviceError (RTCDevice device) |
| RTC_API void | rtcSetDeviceErrorFunction (RTCDevice device, RTCErrorFunction error, void *userPtr) |
| RTC_API void | rtcSetDeviceMemoryMonitorFunction (RTCDevice device, RTCMemoryMonitorFunction memoryMonitor, void *userPtr) |
| typedef typedefRTC_NAMESPACE_BEGIN struct RTCDeviceTy* RTCDevice |
Definition at line 11 of file rtcore_device.h.
Definition at line 76 of file rtcore_device.h.
Definition at line 82 of file rtcore_device.h.
| enum RTCDeviceProperty |
Definition at line 23 of file rtcore_device.h.
| enum RTCError |
| Enumerator | |
|---|---|
| RTC_ERROR_NONE | |
| RTC_ERROR_UNKNOWN | |
| RTC_ERROR_INVALID_ARGUMENT | |
| RTC_ERROR_INVALID_OPERATION | |
| RTC_ERROR_OUT_OF_MEMORY | |
| RTC_ERROR_UNSUPPORTED_CPU | |
| RTC_ERROR_CANCELLED | |
Definition at line 61 of file rtcore_device.h.
| RTC_API ssize_t rtcGetDeviceProperty | ( | RTCDevice | device, |
| enum RTCDeviceProperty | prop | ||
| ) |
| RTC_API void rtcSetDeviceErrorFunction | ( | RTCDevice | device, |
| RTCErrorFunction | error, | ||
| void * | userPtr | ||
| ) |
| RTC_API void rtcSetDeviceMemoryMonitorFunction | ( | RTCDevice | device, |
| RTCMemoryMonitorFunction | memoryMonitor, | ||
| void * | userPtr | ||
| ) |
| RTC_API void rtcSetDeviceProperty | ( | RTCDevice | device, |
| const enum RTCDeviceProperty | prop, | ||
| ssize_t | value | ||
| ) |