Sha256: a403b4296f0e364fda06b12077a063c3b86c47a4f6c7615381479b5b21b27479
Contents?: true
Size: 1.01 KB
Versions: 16
Compression:
Stored size: 1.01 KB
Contents
/** * @file * Declares the Windows processor fact resolver. */ #pragma once #include "../resolvers/processor_resolver.hpp" #include <leatherman/windows/wmi.hpp> #include <memory> namespace facter { namespace facts { namespace windows { /** * Responsible for resolving processor-related facts. */ struct processor_resolver : resolvers::processor_resolver { /** * Constructs the processor_resolver. * @param wmi_conn The WMI connection to use when resolving facts. */ processor_resolver(std::shared_ptr<leatherman::windows::wmi> wmi_conn = std::make_shared<leatherman::windows::wmi>()); protected: /** * Collects the resolver data. * @param facts The fact collection that is resolving facts. * @return Returns the resolver data. */ virtual data collect_data(collection& facts) override; private: std::shared_ptr<leatherman::windows::wmi> _wmi; }; }}} // namespace facter::facts::windows
Version data entries
16 entries across 16 versions & 2 rubygems