xronos-sdk 0.2.0
Xronos C++ SDK
 
Loading...
Searching...
No Matches
xronos::sdk::BaseReaction::MetricEffect Class Reference

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.
 

Detailed Description

Access to a metric that can be recorded.

Constructor & Destructor Documentation

◆ MetricEffect()

xronos::sdk::BaseReaction::MetricEffect::MetricEffect ( Metric & metric,
ReactionContext context )

Construct a new MetricEffect object.

Parameters
metricA metric of the containing reactor, which can be obtained using the Reaction::self method.
contextThe current reaction's initialization context, which can be obtained using the BaseReaction::context method.

The documentation for this class was generated from the following file: