company logo

BaseContext :: processState - Process state property

The process state indicates, whether a context is opened, active or busy. Some process states permit calling context actions and have to be checked, e.g. when context is closing.

Process states can also be set by applications in order to indicate busy or active contexts.

When the context handle does not refer to a valid context instance the property throws an exception.

Return value:  Process state of the resource context ( odaba::ProcessStates  )

Implementation overview

Implementation details

  1. Get current process state
    odaba::ProcessStates BaseContext  :: processState (  )
  2. to list
  3. Change or set process state
    odaba::ProcessStates BaseContext  :: processState ( odaba::ProcessStates eProcessState )

    The function sets the process state to the value passed in eProcessState. The application should change the process state to Busy or Active, only. Other process states are managed by the system. In order to reset active or busy state, the process state should be set to Opened or to its original value.

    • eProcessState - Process state of the resource context
  4. to list