28template <
typename AsyncCB,
typename Orthogonal>
33template <
typename AsyncCB,
typename Orthogonal>
38template <
typename AsyncCB,
typename Orthogonal>
58 template <
typename TOrthogonal,
typename TSourceObject>
63 template <
typename TCallback,
typename T>
64 boost::signals2::connection
onSuccess(TCallback callback, T *
object);
66 template <
typename TCallback,
typename T>
67 boost::signals2::connection
onFinished(TCallback callback, T *
object);
69 template <
typename TCallback,
typename T>
70 boost::signals2::connection
onFailure(TCallback callback, T *
object);
85 virtual void dispose()
override;
virtual ~SmaccAsyncClientBehavior()
bool isShutdownRequested_
std::function< void()> postSuccessEventFn_
std::function< void()> postFinishEventFn_
void executeOnEntry() override
SmaccSignal< void()> onFinished_
SmaccSignal< void()> onFailure_
bool isShutdownRequested()
virtual void dispose() override
std::optional< std::future< int > > onExitThread_
std::optional< std::future< int > > onEntryThread_
boost::signals2::connection onFinished(TCallback callback, T *object)
void waitFutureIfNotFinished(std::optional< std::future< int > > &threadfut, bool requestFinish)
void requestForceFinish()
void onOrthogonalAllocation()
void executeOnExit() override
std::function< void()> postFailureEventFn_
SmaccSignal< void()> onSuccess_
boost::signals2::connection onSuccess(TCallback callback, T *object)
void waitOnEntryThread(bool requestFinish)
boost::signals2::connection onFailure(TCallback callback, T *object)