Struct DebugOutputActor

Nested Relationships

Struct Documentation

struct Acts::DebugOutputActor

This is an actor that deals with the output string It is called upon targetReached and navigationBreak of the state and then copies the debugString into the final output object (result), which leaves the propagation.

Public Types

using result_type = this_result

Public Functions

template<typename propagator_state_t, typename stepper_t>
void operator()(propagator_state_t &state, const stepper_t&, result_type &result) const

Debug output action for the ActionList of the Propagator.

Template Parameters
  • propagator_state_t: is the type of the Propagator state it is not used in this stepper

  • stepper_t: Type of the stepper

Parameters
  • state: is the mutable propagator state object

  • result: is the mutable result state object

template<typename propagator_state_t, typename stepper_t>
void operator()(propagator_state_t&, const stepper_t&) const

Pure observer interface.

  • this does not apply to the output collector

Public Members

bool mute = false

Mute the thing if you don’t want any action.

struct this_result

Simple result struct to be returned It collects the debug output string from the state into which all actors and aborters can write.

Public Members

std::string debugString = ""