#include #pragma hdrstop #if !defined(THERMSGT_HPP) # include #endif #if !defined(MECH_HPP) # include #endif Derivation ThermalSight::ClassDerivations(PowerWatcher::ClassDerivations, "ThermalSight"); ThermalSight::SharedData ThermalSight::DefaultData(ThermalSight::ClassDerivations, Subsystem::MessageHandlers, Subsystem::AttributeIndex, Subsystem::StateCount); ThermalSight::ThermalSight(Mech *owner, int subsystem_ID, SubsystemResource *r, SharedData &shared_data) : PowerWatcher(owner, subsystem_ID, r, shared_data) { Check(owner); Check_Pointer(r); Check_Fpu(); } ThermalSight::~ThermalSight() {} Logical ThermalSight::TestClass(Mech &) { return True; } Logical ThermalSight::TestInstance() const { return IsDerivedFrom(ClassDerivations); }