Application specific reflex

class brainstem.stem.App(module, index)[source]

The AppClass calls defined app reflexes on brainstem modules.

Calls a remote procedure defined in an active map file on a brainstem module. The remote procedure may return a value or not.

execute(param)[source]

Execute an App reflex on a module.

Param:
param (int): App routine parameter.
Returns:Return NO_ERROR on success, or one of the common sets of return error codes on failure.
Return type:Result.error
executeAndWaitForReturn(param, msTimeout)[source]

Execute an App reflex on a module, and wait for it to return a result.

Param:
param (int): App routine parameter. msTimeout (int): millisecons to wait for routine to complete.
Returns:Return NO_ERROR on success, or one of the common sets of return error codes on failure.
Return type:Result.error