/**************************************************************
*
* (C) 2022 ANSYS, Inc. Unauthorized use, distribution, or duplication is prohibited.
*
* Restricted Rights Legend
*
* Use, duplication, or disclosure of this
* software and its documentation by the
* Government is subject to restrictions as
* set forth in subdivision [(b)(3)(ii)] of
* the Rights in Technical Data and Computer
* Software clause at 52.227-7013.
*
**************************************************************
*/
#ifndef ___DVS_PLOT_CHUNK_INTERFACE_H___
#define ___DVS_PLOT_CHUNK_INTERFACE_H___
#include "dynamic_visualization_store_enums.h"
#include "dynamic_visualization_store_error_codes.h"
#include "dvs_object_interface.h"
#include "dvs_hash_interface.h"
namespace DVS
{
class IPlotChunk : public DVS::IHash
{
public:
IPlotChunk() = default;
virtual ~IPlotChunk() = default;
IPlotChunk(IPlotChunk&&) = default;
IPlotChunk& operator=(IPlotChunk&&) = default;
IPlotChunk(const IPlotChunk&) = default;
IPlotChunk& operator=(const IPlotChunk&) = default;
virtual float get_time() const = 0;
virtual uint32_t get_rank() const = 0;
virtual const DVS::IObject* get_object() const = 0;
virtual dvs_ret get_data(uint32_t* num_values, float* x_axis_values, float* y_axis_values) = 0;
};
} //namespace DVS
#endif //___DVS_PLOT_CHUNK_INTERFACE_H___