// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. // If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. // Copyright (C) LibreHardwareMonitor and Contributors. // Partial Copyright (C) Michael Möller and Contributors. // All Rights Reserved. namespace LibreHardwareMonitor.Hardware; /// /// Base interface for creating observers who call to devices. /// public interface IVisitor { /// /// Refreshes the values of all in all on selected . /// /// Instance of the computer to be revisited. void VisitComputer(IComputer computer); /// /// Refreshes the values of all on selected . /// /// Instance of the hardware to be revisited. void VisitHardware(IHardware hardware); /// /// Refreshes the values on selected . /// /// Instance of the sensor to be revisited. void VisitSensor(ISensor sensor); /// /// Refreshes the values on selected . /// /// Instance of the parameter to be revisited. void VisitParameter(IParameter parameter); }