instance

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.

Visibility

Public

Signature
static OMOSFactory* instance();
Notes

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()

Feedback