RTI Connext DDS Micro
Version 2.4.7
|
Modules | |
Migrating a 2.2.x port to 2.3.x |
The system API consists of functions which are more related to the hardware on which RTI Connext DDS Micro is running than on the operating system. As of RTI Connext DDS Micro 2.3.1 the system API is implemented as an interface as opposed to the previous pure function implementation. This change makes it easier to adapt RTI Connext DDS Micro to different hardware platforms without having to write a new port.
The system interface is defined in OSAPI_SystemI, and a port must implement all the methods in this structure. In addition, the function OSAPI_System_get_native_interface must be implemented. This function must return the system interface for the port (called the native system interface).
The semantics for the methods in the interface are exactly as defined by the corresponding system function. For example, the method OSAPI_SystemI::get_time must behave exactly as that described by OSAPI_System_get_time.
The following system interface methods must be implemented in the OSAPI_SystemI structure:
Please refer to the OSAPI System API for definition of the behavior. The available source code contains implementation in the file:
srcC/osapi/<platform>/System.c