Struct Evaluating

Inheritance Relationships

Base Type

  • public boost::statechart::state< Evaluating, Running >

Struct Documentation

struct mimir::Evaluating : public boost::statechart::state<Evaluating, Running>

The state machine is evaluating/solving algorithm.

Public Types

typedef mpl::list<bsc::custom_reaction<EvReady>> reactions

Admissible reactions for the state.

Public Functions

Evaluating(my_context ctx)




bsc::result react(const EvReady&)

Needed to “retrieve void result of future”.

Private Members

std::future<void> m_future

Mechanism to get result of async call. Needs to exist until call is done.

std::atomic<bool> m_canceled

Canceled variable, which is read in the async call.