This method creates a single instance of OMOSFactory. This function must be implemented for a given RTOS to return a pointer to the operating system adapter factory designed specifically for that RTOS.
Public
static OMOSFactory* instance();
To create an operating system entity, you call one of the methods through the pointer returned by instance. For example, to create an event flag, use the following call:
instance()->createOMOSEventFlag()