Skip to content

Class espos::flow::Repeat

template <typename T>

ClassList > espos > flow > Repeat

  • #include <espos_flow/transforms/timing.hpp>

Inherits the following classes: espos::flow::Transform

Public Types inherited from espos::flow::Transform

See espos::flow::Transform

Type Name
typedef In consumes_type

Public Types inherited from espos::flow::Producer

See espos::flow::Producer

Type Name
typedef T produces_type

Public Attributes inherited from espos::flow::NodeBase

See espos::flow::NodeBase

Type Name
NodeBase * next_node = [**nullptr**](classespos_1_1flow_1_1Poll.md)

Public Functions

Type Name
Repeat (const char * id, uint32_t interval_ms, RepeatMode mode=RepeatMode::kStopAfter, uint32_t max_age_ms=0)
esp_err_t register_config (const char * title="Repeat")
uint32_t repeats () const
void set (const T & v) override
void set_interval (uint32_t ms)
void set_max_age (uint32_t ms)
esp_err_t start ()
void stop ()

Public Functions inherited from espos::flow::Transform

See espos::flow::Transform

Type Name
Transform (const char * id)

Public Functions inherited from espos::flow::NodeBase

See espos::flow::NodeBase

Type Name
NodeBase (const char * id="")
NodeBase (const NodeBase &) = delete
const char * id () const
NodeBase & operator= (const NodeBase &) = delete
const char * title () const
NodeBase & with_title (const char * t)
~NodeBase () = default

Public Functions inherited from espos::flow::Consumer

See espos::flow::Consumer

Type Name
virtual void set (const T & value) = 0

Public Functions inherited from espos::flow::Producer

See espos::flow::Producer

Type Name
Sink & connect_to (Sink & sink)
std::size_t edge_count () const
void emit (const T & value)
uint32_t emitted_at_ms () const
const T & get () const
bool has_value () const
Sink & operator>> (Sink & sink)

Protected Functions inherited from espos::flow::Transform

See espos::flow::Transform

Type Name
virtual const char * node_id_for_error () override const
~Transform () = default

Protected Functions inherited from espos::flow::NodeBase

See espos::flow::NodeBase

Type Name
void set_id (const char * id)

Protected Functions inherited from espos::flow::Consumer

See espos::flow::Consumer

Type Name
~Consumer () = default

Protected Functions inherited from espos::flow::Producer

See espos::flow::Producer

Type Name
virtual const char * node_id_for_error () const
~Producer () = default

Public Functions Documentation

function Repeat

inline espos::flow::Repeat::Repeat (
    const  char * id,
    uint32_t interval_ms,
    RepeatMode mode=RepeatMode::kStopAfter,
    uint32_t max_age_ms=0
) 

function register_config

inline esp_err_t espos::flow::Repeat::register_config (
    const  char * title="Repeat"
) 

function repeats

inline uint32_t espos::flow::Repeat::repeats () const

function set

inline void espos::flow::Repeat::set (
    const  T & v
) override

function set_interval

inline void espos::flow::Repeat::set_interval (
    uint32_t ms
) 

function set_max_age

inline void espos::flow::Repeat::set_max_age (
    uint32_t ms
) 

function start

inline esp_err_t espos::flow::Repeat::start () 

function stop

inline void espos::flow::Repeat::stop () 


The documentation for this class was generated from the following file espos_flow/include/espos_flow/transforms/timing.hpp