19namespace event_generators
virtual ~EgConditionalGenerator()
void setPredicateFunction(std::function< bool()> updatePredicate)
std::function< bool()> updatePredicate_
std::function< void()> postEventTrue
void checkPredicateAndPost()
EgConditionalGenerator(ConditionalGeneratorMode mode, std::function< bool()> updatePredicate=nullptr)
ConditionalGeneratorMode mode_
virtual void update() override
std::function< void()> postEventFalse