JD2022-TU1/main/extern/gear4/gear_detection/detection/gearhardware.h

75 lines
2.1 KiB
C++

////////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) Ubisoft Entertainment. All rights reserved.
//
////////////////////////////////////////////////////////////////////////////////
#pragma once
#ifndef GEAR_GEARSYSTEMDETECTIONHARDWARE__INCLUDED
#define GEAR_GEARSYSTEMDETECTIONHARDWARE__INCLUDED
#include <gear_core/base/types.h>
#include <gear_detection/detection/gearaudio.h>
#include <gear_detection/detection/gearcpu.h>
#include <gear_detection/detection/geardisk.h>
#include <gear_detection/detection/geargraphics.h>
#include <gear_detection/detection/gearmemory.h>
#include <gear_detection/detection/gearnetwork.h>
#include <gear_detection/detection/gearos.h>
#include <gear_detection/detection/hardware.h>
namespace G4 {
namespace SystemDetection
{
/*! \addtogroup detection detection
@{
\addtogroup hardware Hardware
@{
*/
/// \sa Hardware
class G4_DETECTION_DLL_ENTRY GearHardware : public Hardware
{
public:
GearHardware();
virtual ~GearHardware();
/// \sa Hardware::GetCPU
virtual const CPU& GetCPU();
/// \sa Hardware::GetLogicalDisks
virtual const LogicalDisks& GetLogicalDisks();
/// \sa Hardware::GetMemory
virtual const Memory& GetMemory();
/// \sa Hardware::GetNetwork
virtual const Network& GetNetwork();
/// \sa Hardware::GetOS
virtual const OS& GetOS();
/// \sa Hardware::GetGraphics
virtual const Graphics& GetGraphics();
/// \sa Hardware::GetAudio
virtual const Audio& GetAudio();
private:
GearCPU* m_cpu;
GearLogicalDisks* m_logicalDisks;
GearMemory* m_memory;
GearNetwork* m_network;
GearOS* m_os;
GearGraphics* m_graphics;
GearAudio* m_audio;
};
/*! @} */
/*! @} */
} //namespace SystemDetection
} // namespace G4()
#endif