8#include <smacc/smacc_client_behavior_base.h>
11#include <condition_variable>
17 template <
typename AsyncCB,
typename Orthogonal>
22 template <
typename AsyncCB,
typename Orthogonal>
27 template <
typename AsyncCB,
typename Orthogonal>
45 template <
typename TOrthogonal,
typename TSourceObject>
50 template <
typename TCallback,
typename T>
51 boost::signals2::connection
onSuccess(TCallback callback, T *
object);
53 template <
typename TCallback,
typename T>
54 boost::signals2::connection
onFinished(TCallback callback, T *
object);
56 template <
typename TCallback,
typename T>
57 boost::signals2::connection
onFailure(TCallback callback, T *
object);
66 virtual void dispose()
override;
virtual ~SmaccAsyncClientBehavior()
SmaccSignal< void()> onSuccess_
boost::signals2::connection onFailure(TCallback callback, T *object)
SmaccSignal< void()> onFailure_
SmaccSignal< void()> onFinished_
virtual void executeOnExit() override
boost::signals2::connection onSuccess(TCallback callback, T *object)
std::future< int > onEntryThread_
std::function< void()> postFailureEventFn_
void onOrthogonalAllocation()
std::function< void()> postSuccessEventFn_
boost::signals2::connection onFinished(TCallback callback, T *object)
virtual void executeOnEntry() override
virtual void dispose() override
std::future< int > onExitThread_
std::function< void()> postFinishEventFn_