SetExecutionBudget¶
-
virtual void IProcessingBlock::SetExecutionBudget(double budget) = 0¶
Sets the maximum amount of time that the processing block is allowed to use.
- Parameters
budget – Maximum amount of time in seconds.
- Throws
CInvalidArgumentException
– Value passed is NaN.CUnsupportedException
– Execution Budget is not supported for built-in processing blocks.CUnsupportedException
– Execution Budget is not supported (see product specific documentation).CInvalidOperationException
– Top-controller state is not “Config”.CCommunicationErrorException
– Protocol error.CConnectionLostException
– Connection to controller lost.CRebootedException
– Controller has been rebooted since this object reference was retrieved, invalidating this reference.CIncompatibleException
– Incompatible firmware version loaded.CObjectDestroyedException
– Object is destroyed.
- Remarks
Negative value means infinite, i.e. no checking on the budget.