22 #ifndef osapi_system_h
23 #define osapi_system_h
26 #include "osapi/osapi_dll.h"
40 #define OSAPI_SYSTEM_MAX_HOSTNAME (64)
47 #define OSAPI_SYSTEM_OBJECTID_START 0x01000000
53 #define OSAPI_SYSTEM_OBJECTID_MAX 0x7fffffff
72 FUNCTION_MUST_TYPEDEF(
75 OSAPI_TimerTickHandlerFunction tick_handler)
82 FUNCTION_SHOULD_TYPEDEF(
91 FUNCTION_SHOULD_TYPEDEF(
100 FUNCTION_SHOULD_TYPEDEF(
109 FUNCTION_SHOULD_TYPEDEF(
118 FUNCTION_SHOULD_TYPEDEF(
127 FUNCTION_MUST_TYPEDEF(
134 FUNCTION_MUST_TYPEDEF(
136 (*OSAPI_System_generate_uuid_T)(struct OSAPI_SystemUUID *uuid_out);
139 FUNCTION_MUST_TYPEDEF(
141 (*OSAPI_System_get_ticktime_T)(RTI_INT32 *sec,RTI_UINT32 *nanosec);
219 #define OSAPI_SystemI_INITIALIZER \
232 extern OSAPIDllVariable
struct OSAPI_System *OSAPI_System_gv_System;
245 MUST_CHECK_RETURN OSAPIDllExport
RTI_BOOL
258 SHOULD_CHECK_RETURN OSAPIDllExport
RTI_BOOL
265 FUNCTION_MUST_TYPEDEF(
271 (*OSAPI_System_on_system_finalize_T)(
void *listener_data,
struct OSAPI_System *system);
281 OSAPI_System_on_system_finalize_T on_system_finalize;
284 #define OSAPI_SystemListener_INITIALIZER \
307 MUST_CHECK_RETURN OSAPIDllExport
RTI_BOOL
320 SHOULD_CHECK_RETURN OSAPIDllExport
RTI_BOOL
346 #define OSAPI_SystemProperty_INITIALIZER \
348 OSAPI_TimerProperty_INITIALIZER,\
371 MUST_CHECK_RETURN OSAPIDllExport
RTI_BOOL
399 MUST_CHECK_RETURN OSAPIDllExport
RTI_BOOL
412 OSAPIDllExport RTI_INT32
424 MUST_CHECK_RETURN OSAPIDllExport
RTI_BOOL
426 OSAPI_TimerTickHandlerFunction tick_handler);
437 MUST_CHECK_RETURN OSAPIDllExport
RTI_BOOL
451 MUST_CHECK_RETURN OSAPIDllExport
RTI_BOOL
466 SHOULD_CHECK_RETURN OSAPIDllExport
RTI_BOOL
477 MUST_CHECK_RETURN OSAPIDllExport
RTI_BOOL
491 MUST_CHECK_RETURN OSAPIDllExport
RTI_BOOL
529 OSAPIDllExport RTI_INT32
552 MUST_CHECK_RETURN OSAPIDllExport
RTI_BOOL
578 MUST_CHECK_RETURN OSAPIDllExport
RTI_BOOL