The factory mediates between the application and the concrete, operating system-dependent adapter classes.
To plug in the concrete factory, you must create a specific <env>OSFactory that inherits from the OMOSFactory in the OXF. This class is declared in the <env>OS.h file.
For example, in the VxOS.h file, the VxOSFactory class inherits from the OMOSFactory in the OXF, as follows:
/////////////////////////////////////////
class VxOSFactory : public OMOSFactory {
// OSFactory hides the RTOS mechanisms for tasking and
// synchronization