Business logic interface for Optimisable mixin.
More...
#include <rtctk/componentFramework/optimisable.hpp>
template<
typename Super>
class rtctk::componentFramework::Optimisable< Super >::BizLogicIf
Business logic interface for Optimisable mixin.
◆ ActivityOptimising()
Activity executed in its own thread that performs the requested optimization.
- Parameters
-
| st | Indicates when activity is requested to stop. |
| arg | Provides arguments for the optimization to be performed. |
- Thread Safety
- thread-safe – Method is invoked from unspecified thread and must be thread safe.
- Exception Safety
- basic – Method may throw exception. The exception message will returned to requestor.
◆ GuardOptimisingAllowed()
Determines if optimising is possible at this time with the provided argument.
- Parameters
-
- Returns
- true if optimising is allowed.
-
false if optimising is disallowed. This results in the command being rejected.
- Exception Safety
- basic – Method may throw which will result in optimise request being rejected.
The documentation for this class was generated from the following file:
- componentFramework/rtcComponent/lib/src/include/rtctk/componentFramework/optimisable.hpp