|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
Specialized context for stochastic generator callbacks. More...
#include <Random.hpp>
Inheritance diagram for MayaFlux::Nodes::Generator::RandomContext:
Collaboration diagram for MayaFlux::Nodes::Generator::RandomContext:Public Member Functions | |
| RandomContext (double value, Kinesis::Stochastic::Algorithm type, double amplitude, double range_start, double range_end, double normal_spread) | |
| Constructs a RandomContext with the current generator state. | |
Public Member Functions inherited from MayaFlux::Nodes::NodeContext | |
| template<typename T > | |
| T * | as () |
| Safely cast to a derived context type. | |
| template<typename T > | |
| const T * | as () const |
| virtual | ~NodeContext ()=default |
Public Attributes | |
| double | amplitude |
| Current amplitude scaling factor. | |
| Kinesis::Stochastic::Algorithm | distribution_type |
| Current distribution type. | |
| double | normal_spread |
| Current variance parameter for normal distribution. | |
| double | range_end |
| Current upper bound of the range. | |
| double | range_start |
| Current lower bound of the range. | |
Public Attributes inherited from MayaFlux::Nodes::NodeContext | |
| std::string | type_id |
| Type identifier for runtime type checking. | |
| double | value |
| Current sample value. | |
Additional Inherited Members | |
Protected Member Functions inherited from MayaFlux::Nodes::NodeContext | |
| NodeContext (double value, std::string type) | |
| Protected constructor for NodeContext. | |
Specialized context for stochastic generator callbacks.
RandomContext extends the base NodeContext to provide detailed information about a stochastic generator's current state to callbacks. It includes the current distribution type, amplitude scaling, range parameters, and statistical configuration values.
This rich context enables callbacks to perform sophisticated analysis and monitoring of stochastic behavior, such as:
Definition at line 25 of file Nodes/Generators/Random.hpp.