BaseContext :: enabled - Enabled property
When a context has been disabled ( enabled = false ), no events are generated for the context until it is enabled again. Functions, however, which called directly via executeFunction() , will be executed, regardless of the enable state.
When the context handle does not refer to a valid context instance the function throws an exception.
In order to enable the referenced resource true should be passed. Passing false will disable the resource.
Implementation overview
- Get enabled state
BaseContext :: enabled (  ) - Enable context events
BaseContext :: enabled ( bEnable )
Implementation details
-
Get enabled state
bool BaseContext  :: enabled (  )
The function returns, whether the context is enabled ( true ) or not ( false ).
to list
-
Enable context events
bool BaseContext  :: enabled ( bool bEnable )
Setting the enabled state to false ( bEnable ) will disable the context. The context must be enabled after being disabled in order to process events again by passing true in bEnable ..
- bEnable
- Enable resource
In order to enable the referenced resource true should be passed. Passing false will disable the resource.
to list
- bEnable
- Enable resource