CYCLUS
Loading...
Searching...
No Matches
timeseries.h File Reference
#include <functional>
#include <map>
#include <string>
#include <vector>
#include "boost/variant.hpp"
#include "boost/variant/get.hpp"
#include "agent.h"
#include "any.hpp"
#include "context.h"

Go to the source code of this file.

Namespaces

namespace  cyclus
 
namespace  cyclus::toolkit
 

Typedefs

typedef boost::variant< std::function< void(cyclus::Agent *, int, bool, std::string)>, std::function< void(cyclus::Agent *, int, int, std::string)>, std::function< void(cyclus::Agent *, int, float, std::string)>, std::function< void(cyclus::Agent *, int, double, std::string)>, std::function< void(cyclus::Agent *, int, std::string, std::string)> cyclus::toolkit::time_series_listener_t)
 

Enumerations

enum  cyclus::toolkit::TimeSeriesType : int { cyclus::toolkit::POWER , cyclus::toolkit::ENRICH_SWU , cyclus::toolkit::ENRICH_FEED }
 

Functions

template<TimeSeriesType T>
void cyclus::toolkit::RecordTimeSeries (cyclus::Agent *agent, double value, std::string units="")
 
template<typename T >
void cyclus::toolkit::RecordTimeSeries (std::string tsname, cyclus::Agent *agent, T value, std::string units="")