using System;
using System.Collections.Generic;
using System.Text;

namespace DataPerformer
{
    /// <summary>
    /// Measurements provider
    /// </summary>
    public interface IMeasurements
    {
        /// <summary>
        /// The count of measurements
        /// </summary>
        int Count
        {
            get;
        }

        /// <summary>
        /// Access to n - th measurement
        /// </summary>
        IMeasure this[int n]
        {
            get;
        }

        /// <summary>
        /// Updates measurements data
        /// </summary>
        void UpdateMeasurements();


        /// <summary>
        /// Shows, wreather the object is updated
        /// </summary>
        bool IsUpdated
        {
            get;
            set;
        }
    }
}
