22#include <condition_variable>
31template <
typename AsyncCB,
typename Orthogonal>
36template <
typename AsyncCB,
typename Orthogonal>
41template <
typename AsyncCB,
typename Orthogonal>
59 template <
typename TOrthogonal,
typename TSourceObject>
64 template <
typename TCallback,
typename T>
65 boost::signals2::connection
onSuccess(TCallback callback, T *
object);
67 template <
typename TCallback,
typename T>
68 boost::signals2::connection
onFinished(TCallback callback, T *
object);
70 template <
typename TCallback,
typename T>
71 boost::signals2::connection
onFailure(TCallback callback, T *
object);
77 virtual void dispose()
override;
virtual ~SmaccAsyncClientBehavior()
bool isShutdownRequested_
std::function< void()> postSuccessEventFn_
std::function< void()> postFinishEventFn_
void waitFutureIfNotFinished(std::future< int > &threadfut)
void executeOnEntry() override
SmaccSignal< void()> onFinished_
SmaccSignal< void()> onFailure_
bool isShutdownRequested()
std::future< int > onExitThread_
virtual void dispose() override
boost::signals2::connection onFinished(TCallback callback, T *object)
void onOrthogonalAllocation()
void executeOnExit() override
std::function< void()> postFailureEventFn_
SmaccSignal< void()> onSuccess_
std::future< int > onEntryThread_
boost::signals2::connection onSuccess(TCallback callback, T *object)
boost::signals2::connection onFailure(TCallback callback, T *object)