RTI Connext DDS Micro  Version 2.4.8
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
osapi_system.h File Reference

System API definition. More...

#include "osapi/osapi_dll.h"
#include "osapi/osapi_time.h"
#include "osapi/osapi_timer.h"

Go to the source code of this file.

Data Structures

struct  OSAPI_SystemI
struct  OSAPI_SystemListener
struct  OSAPI_SystemProperty
struct  OSAPI_SystemUUID
 UUID definition. More...

Typedefs

typedef RTI_BOOL(* OSAPI_System_start_timer_T )(OSAPI_Timer_T self, OSAPI_TimerTickHandlerFunction tick_handler)
typedef RTI_BOOL(* OSAPI_System_stop_timer_T )(OSAPI_Timer_T self)
typedef RTI_INT32(* OSAPI_System_get_timer_resolution_T )(void)
typedef RTI_BOOL(* OSAPI_System_get_time_T )(OSAPI_NtpTime *now)
typedef RTI_BOOL(* OSAPI_System_initialize_T )(void)
typedef RTI_BOOL(* OSAPI_System_finalize_T )(void)
typedef RTI_BOOL(* OSAPI_System_get_hostname_T )(char *const hostname)
typedef RTI_BOOL(* OSAPI_System_on_system_initialize_T )(void *listener_data, struct OSAPI_System *system)

Functions

RTI_BOOL OSAPI_System_set_interface (struct OSAPI_SystemI *intf)
 Set system interface.
RTI_BOOL OSAPI_System_get_interface (struct OSAPI_SystemI *intf)
 Get the current system interface.
RTI_BOOL OSAPI_System_set_listener (struct OSAPI_SystemListener *listener)
 Install a system listeners.
RTI_BOOL OSAPI_System_get_listener (struct OSAPI_SystemListener *listener)
 Get current system listeners.
RTI_BOOL OSAPI_System_generate_uuid (struct OSAPI_SystemUUID *uuid_out)
 Generate a unique universal identifier (UUID)
RTI_BOOL OSAPI_System_get_time (OSAPI_NtpTime *now)
 Get the current system time.
RTI_INT32 OSAPI_System_get_timer_resolution (void)
 Get the resolution of the clock driving the timer in nano seconds.
RTI_BOOL OSAPI_System_start_timer (OSAPI_Timer_T self, OSAPI_TimerTickHandlerFunction tick_handler)
 Start the timer.
RTI_BOOL OSAPI_System_stop_timer (OSAPI_Timer_T self)
 Stop the timer.
RTI_BOOL OSAPI_System_initialize (void)
 Initialize the system.
RTI_BOOL OSAPI_System_finalize (void)
 Finalize the system.
RTI_BOOL OSAPI_System_get_property (struct OSAPI_SystemProperty *property)
 Get the system properties.
RTI_BOOL OSAPI_System_set_property (struct OSAPI_SystemProperty *property)
 Set the system properties.
void OSAPI_System_get_native_interface (struct OSAPI_SystemI *intf)
 Get the native system interface.
RTI_INT32 OSAPI_System_get_next_object_id (void)
 Return next object ID.
RTI_BOOL OSAPI_System_get_hostname (char *const hostname)
 Get the hostname.
RTI_BOOL OSAPI_System_get_ticktime (RTI_INT32 *sec, RTI_UINT32 *nanosec)
 Get current tick time.

Detailed Description

System API definition.


RTI Connext DDS Micro Version 2.4.8 Copyright © Tue Apr 12 2016 Real-Time Innovations, Inc