OMOSFactory class

Each concrete OSFactory inherits publicly from the abstract class OMOSFactory. OMOSFactory hides the RTOS mechanisms for tasking and synchronization. In addition, the OSFactory provides other operating system-dependent services that the Rational® Rhapsody® framework requires, such as obtaining a handle to the current thread.

The following sequence diagram shows the OSFactory creating various operating system entities, such as OMOSMessageQueue and OMOSConnectionPort.

Construction summary
instance
Creates a single instance of the OMOSFactory
Method summary
createOMOSConnectionPort
Creates a connection port
createOMOSEventFlag
Creates an event flag
createOMOSIdleTimer
Creates an idle timer
createOMOSMessageQueue
Creates a message queue
createOMOSMutex
Creates a mutex
createOMOSSemaphore
Creates a semaphore
createOMOSThread
Creates a thread
createOMOSTickTimer
Creates a tick timer
createOMOSWrapperThread
Creates a wrapper thread
delayCurrentThread
Delays the current thread for the specified length of time
getCurrentThreadHandle
Gets the handle to the current thread
waitOnThread
Waits on the thread for the specified length of time

Feedback