#pragma once
#include <vector>
#include <utility>
#include <string>

#include "OutputBuffer.h"

namespace CppModelBase
{
    class SimulationOutputs : public OutputBuffer
    {
    private:
        std::vector<std::pair<double, PortList>> data;

    public:
        SimulationOutputs();
        SimulationOutputs(const SimulationOutputs &other);
        void RunCyclic(double simulationTime);

        bool contains(std::string name);

        nlohmann::json ToJson();
        void Clear();
    };

}
