mcx::signal_monitor::SignalMonitor

mcx::signal_monitor::SignalMonitor

More…

Inherits from mcx::signal_monitor::SignalMonitorBase

Public Functions

Name
SignalMonitor(void )
virtual ~SignalMonitor(void )
void add(const SignalId & signal_id, T & input_ref, T objective_val, std::function< bool()> callback, TriggerType trigger_type =TRIGGER_ALWAYS, double start_time_s =0, double stop_time_s =std::numeric_limits< double >::max())
void add(const SignalId & signal_id, T & input_ref, T objective_val, std::function< bool(const SignalId &signal_id)> callback, TriggerType trigger_type =TRIGGER_ALWAYS, double start_time_s =0, double stop_time_s =std::numeric_limits< double >::max())
void add(const SignalId & signal_id, T & input_ref, T objective_val, std::function< bool(const SignalId &signal_id, T)> callback, TriggerType trigger_type =TRIGGER_ALWAYS, double start_time_s =0, double stop_time_s =std::numeric_limits< double >::max())
template <typename U >
void
add(const SignalId & signal_id, T & input_ref, T objective_val, std::pair< std::function< bool(U *)>, U * > callback, TriggerType trigger_type =TRIGGER_ALWAYS, double start_time_s =0, double stop_time_s =std::numeric_limits< double >::max())
template <typename U >
void
add(const SignalId & signal_id, T & input_ref, T objective_val, std::pair< std::function< bool(U *, const SignalId &signal_id)>, U * > callback, TriggerType trigger_type =TRIGGER_ALWAYS, double start_time_s =0, double stop_time_s =std::numeric_limits< double >::max())
template <typename U >
void
add(const SignalId & signal_id, T & input_ref, T objective_val, std::pair< std::function< bool(U *, const SignalId &signal_id, T)>, U * > callback, TriggerType trigger_type =TRIGGER_ALWAYS, double start_time_s =0, double stop_time_s =std::numeric_limits< double >::max())
void add(const SignalId & signal_id, const T && input_val, T objective_val, std::function< bool()> callback, TriggerType trigger_type =TRIGGER_ALWAYS, double start_time_s =0, double stop_time_s =std::numeric_limits< double >::max())
void add(const SignalId & signal_id, const T && input_val, T objective_val, std::function< bool(const SignalId &signal_id)> callback, TriggerType trigger_type =TRIGGER_ALWAYS, double start_time_s =0, double stop_time_s =std::numeric_limits< double >::max())
void add(const SignalId & signal_id, const T && input_val, T objective_val, std::function< bool(const SignalId &signal_id, T)> callback, TriggerType trigger_type =TRIGGER_ALWAYS, double start_time_s =0, double stop_time_s =std::numeric_limits< double >::max())
template <typename U >
void
add(const SignalId & signal_id, const T && input_val, T objective_val, std::pair< std::function< bool(U *)>, U * > callback, TriggerType trigger_type =TRIGGER_ALWAYS, double start_time_s =0, double stop_time_s =std::numeric_limits< double >::max())
template <typename U >
void
add(const SignalId & signal_id, const T && input_val, T objective_val, std::pair< std::function< bool(U *, const SignalId &signal_id)>, U * > callback, TriggerType trigger_type =TRIGGER_ALWAYS, double start_time_s =0, double stop_time_s =std::numeric_limits< double >::max())
template <typename U >
void
add(const SignalId & signal_id, const T && input_val, T objective_val, std::pair< std::function< bool(U *, const SignalId &signal_id, T)>, U * > callback, TriggerType trigger_type =TRIGGER_ALWAYS, double start_time_s =0, double stop_time_s =std::numeric_limits< double >::max())
void iterate(double dt_sec)
virtual void set(const SignalId & signal_id)
void set(const SignalId & signal_id, const T & value)
void setObjective(const SignalId & signal_id, const T & value)
virtual void reset(const SignalId & signal_id)
virtual void enable(const SignalId & signal_id)
virtual void disable(const SignalId & signal_id)
virtual void set(const SignalIdGroup & signal_id_group)
virtual void reset(const SignalIdGroup & signal_id_group)
virtual void enable(const SignalIdGroup & signal_id_group)
virtual void disable(const SignalIdGroup & signal_id_group)
virtual void reset(void )
virtual void enable(void )
virtual void disable(void )
void set(const SignalId & signal_id)
void set(const SignalIdGroup & signal_id_group)
virtual void reset(const SignalId & signal_id)
virtual void reset(const SignalIdGroup & signal_id_group)
virtual void reset(void )
virtual void enable(const SignalId & signal_id)
virtual void enable(const SignalIdGroup & signal_id_group)
virtual void enable(void )
virtual void disable(const SignalId & signal_id)
virtual void disable(const SignalIdGroup & signal_id_group)
virtual void disable(void )

Detailed Description

template <typename T ,
typename CompareFunctor  =std::equal_to<T>>
class mcx::signal_monitor::SignalMonitor;

Public Functions Documentation

function SignalMonitor

inline SignalMonitor(
    void 
)

function ~SignalMonitor

inline virtual ~SignalMonitor(
    void 
)

function add

inline void add(
    const SignalId & signal_id,
    T & input_ref,
    T objective_val,
    std::function< bool()> callback,
    TriggerType trigger_type =TRIGGER_ALWAYS,
    double start_time_s =0,
    double stop_time_s =std::numeric_limits< double >::max()
)

function add

inline void add(
    const SignalId & signal_id,
    T & input_ref,
    T objective_val,
    std::function< bool(const SignalId &signal_id)> callback,
    TriggerType trigger_type =TRIGGER_ALWAYS,
    double start_time_s =0,
    double stop_time_s =std::numeric_limits< double >::max()
)

function add

inline void add(
    const SignalId & signal_id,
    T & input_ref,
    T objective_val,
    std::function< bool(const SignalId &signal_id, T)> callback,
    TriggerType trigger_type =TRIGGER_ALWAYS,
    double start_time_s =0,
    double stop_time_s =std::numeric_limits< double >::max()
)

function add

template <typename U >
inline void add(
    const SignalId & signal_id,
    T & input_ref,
    T objective_val,
    std::pair< std::function< bool(U *)>, U * > callback,
    TriggerType trigger_type =TRIGGER_ALWAYS,
    double start_time_s =0,
    double stop_time_s =std::numeric_limits< double >::max()
)

function add

template <typename U >
inline void add(
    const SignalId & signal_id,
    T & input_ref,
    T objective_val,
    std::pair< std::function< bool(U *, const SignalId &signal_id)>, U * > callback,
    TriggerType trigger_type =TRIGGER_ALWAYS,
    double start_time_s =0,
    double stop_time_s =std::numeric_limits< double >::max()
)

function add

template <typename U >
inline void add(
    const SignalId & signal_id,
    T & input_ref,
    T objective_val,
    std::pair< std::function< bool(U *, const SignalId &signal_id, T)>, U * > callback,
    TriggerType trigger_type =TRIGGER_ALWAYS,
    double start_time_s =0,
    double stop_time_s =std::numeric_limits< double >::max()
)

function add

inline void add(
    const SignalId & signal_id,
    const T && input_val,
    T objective_val,
    std::function< bool()> callback,
    TriggerType trigger_type =TRIGGER_ALWAYS,
    double start_time_s =0,
    double stop_time_s =std::numeric_limits< double >::max()
)

function add

inline void add(
    const SignalId & signal_id,
    const T && input_val,
    T objective_val,
    std::function< bool(const SignalId &signal_id)> callback,
    TriggerType trigger_type =TRIGGER_ALWAYS,
    double start_time_s =0,
    double stop_time_s =std::numeric_limits< double >::max()
)

function add

inline void add(
    const SignalId & signal_id,
    const T && input_val,
    T objective_val,
    std::function< bool(const SignalId &signal_id, T)> callback,
    TriggerType trigger_type =TRIGGER_ALWAYS,
    double start_time_s =0,
    double stop_time_s =std::numeric_limits< double >::max()
)

function add

template <typename U >
inline void add(
    const SignalId & signal_id,
    const T && input_val,
    T objective_val,
    std::pair< std::function< bool(U *)>, U * > callback,
    TriggerType trigger_type =TRIGGER_ALWAYS,
    double start_time_s =0,
    double stop_time_s =std::numeric_limits< double >::max()
)

function add

template <typename U >
inline void add(
    const SignalId & signal_id,
    const T && input_val,
    T objective_val,
    std::pair< std::function< bool(U *, const SignalId &signal_id)>, U * > callback,
    TriggerType trigger_type =TRIGGER_ALWAYS,
    double start_time_s =0,
    double stop_time_s =std::numeric_limits< double >::max()
)

function add

template <typename U >
inline void add(
    const SignalId & signal_id,
    const T && input_val,
    T objective_val,
    std::pair< std::function< bool(U *, const SignalId &signal_id, T)>, U * > callback,
    TriggerType trigger_type =TRIGGER_ALWAYS,
    double start_time_s =0,
    double stop_time_s =std::numeric_limits< double >::max()
)

function iterate

void iterate(
    double dt_sec
)

function set

virtual void set(
    const SignalId & signal_id
)

Reimplements: mcx::signal_monitor::SignalMonitorBase::set

function set

void set(
    const SignalId & signal_id,
    const T & value
)

function setObjective

void setObjective(
    const SignalId & signal_id,
    const T & value
)

function reset

virtual void reset(
    const SignalId & signal_id
)

Reimplements: mcx::signal_monitor::SignalMonitorBase::reset

function enable

virtual void enable(
    const SignalId & signal_id
)

Reimplements: mcx::signal_monitor::SignalMonitorBase::enable

function disable

virtual void disable(
    const SignalId & signal_id
)

Reimplements: mcx::signal_monitor::SignalMonitorBase::disable

function set

virtual void set(
    const SignalIdGroup & signal_id_group
)

Reimplements: mcx::signal_monitor::SignalMonitorBase::set

function reset

virtual void reset(
    const SignalIdGroup & signal_id_group
)

Reimplements: mcx::signal_monitor::SignalMonitorBase::reset

function enable

virtual void enable(
    const SignalIdGroup & signal_id_group
)

Reimplements: mcx::signal_monitor::SignalMonitorBase::enable

function disable

virtual void disable(
    const SignalIdGroup & signal_id_group
)

Reimplements: mcx::signal_monitor::SignalMonitorBase::disable

function reset

virtual void reset(
    void 
)

Reimplements: mcx::signal_monitor::SignalMonitorBase::reset

function enable

virtual void enable(
    void 
)

Reimplements: mcx::signal_monitor::SignalMonitorBase::enable

function disable

virtual void disable(
    void 
)

Reimplements: mcx::signal_monitor::SignalMonitorBase::disable

function set

void set(
    const SignalId & signal_id
)

function set

void set(
    const SignalIdGroup & signal_id_group
)

function reset

virtual void reset(
    const SignalId & signal_id
)

Reimplements: mcx::signal_monitor::SignalMonitorBase::reset

function reset

virtual void reset(
    const SignalIdGroup & signal_id_group
)

Reimplements: mcx::signal_monitor::SignalMonitorBase::reset

function reset

virtual void reset(
    void 
)

Reimplements: mcx::signal_monitor::SignalMonitorBase::reset

function enable

virtual void enable(
    const SignalId & signal_id
)

Reimplements: mcx::signal_monitor::SignalMonitorBase::enable

function enable

virtual void enable(
    const SignalIdGroup & signal_id_group
)

Reimplements: mcx::signal_monitor::SignalMonitorBase::enable

function enable

virtual void enable(
    void 
)

Reimplements: mcx::signal_monitor::SignalMonitorBase::enable

function disable

virtual void disable(
    const SignalId & signal_id
)

Reimplements: mcx::signal_monitor::SignalMonitorBase::disable

function disable

virtual void disable(
    const SignalIdGroup & signal_id_group
)

Reimplements: mcx::signal_monitor::SignalMonitorBase::disable

function disable

virtual void disable(
    void 
)

Reimplements: mcx::signal_monitor::SignalMonitorBase::disable


Updated on 2022-04-05 at 16:21:27 +0200