MCPcopy Create free account
hub / github.com/MaaXYZ/MaaFramework / ScreencapBase

Class ScreencapBase

source/MaaAdbControlUnit/Base/UnitBase.h:61–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59};
60
61class ScreencapBase
62 : virtual public UnitBase
63 , public ControlUnitSink
64{
65public:
66 virtual ~ScreencapBase() override = default;
67
68 virtual bool init() = 0;
69
70public:
71 virtual std::optional<cv::Mat> screencap() = 0;
72
73protected:
74 ScreencapHelper screencap_helper_;
75};
76
77class InputBase
78 : virtual public UnitBase

Callers 2

UnitBase.hFile · 0.85
UnitBase.hFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected