Access to a metric that can be recorded. More...
#include <xronos/sdk/reaction.hh>
Public Member Functions | |
MetricEffect (Metric &metric, ReactionContext context) | |
Construct a new MetricEffect object. | |
Access to a metric that can be recorded.
xronos::sdk::BaseReaction::MetricEffect::MetricEffect | ( | Metric & | metric, |
ReactionContext | context ) |
Construct a new MetricEffect
object.
metric | A metric of the containing reactor, which can be obtained using the Reaction::self method. |
context | The current reaction's initialization context, which can be obtained using the BaseReaction::context method. |