Skip to main content

nebula::exec::task::condition::ConditionBase

class nebula::exec::task::condition::ConditionBase

Base class for all conditions.

Members

public bool trigger(std::string name)

Notifies about arrival of new event by name Return whether after the new event, the condition is satisfied or not.

  • Parameters

    • name name of the event
  • Returns true condition met

  • Returns false condition not met

public void reset()

Reset the condition state machine.

public void startListening(nebula::comm::EventElementBase::NotifierType notifier)

Start listening for new events.

  • Parameters
    • notifier Event notifier method