Maa Framework (main) v2.2.0-beta.3
A automation black-box testing framework based on image recognition.
Loading...
Searching...
No Matches
MaaContext.h
Go to the documentation of this file.
1
10// IWYU pragma: private, include <MaaFramework/MaaAPI.h>
11
12#pragma once
13
14#include "../MaaDef.h"
15#include "../MaaPort.h"
16
17#ifdef __cplusplus
18extern "C"
19{
20#endif
21
22 MAA_FRAMEWORK_API MaaTaskId MaaContextRunPipeline(MaaContext* context, const char* entry, const char* pipeline_override);
23
25 MaaContextRunRecognition(MaaContext* context, const char* entry, const char* pipeline_override, const MaaImageBuffer* image);
26
28 MaaContext* context,
29 const char* entry,
30 const char* pipeline_override,
31 const MaaRect* box,
32 const char* reco_detail);
33
34 MAA_FRAMEWORK_API MaaBool MaaContextOverridePipeline(MaaContext* context, const char* pipeline_override);
35
36 MAA_FRAMEWORK_API MaaBool MaaContextOverrideNext(MaaContext* context, const char* name, const MaaStringListBuffer* next_list);
37
39
41
43
44#ifdef __cplusplus
45}
46#endif
MAA_FRAMEWORK_API MaaRecoId MaaContextRunRecognition(MaaContext *context, const char *entry, const char *pipeline_override, const MaaImageBuffer *image)
MAA_FRAMEWORK_API MaaNodeId MaaContextRunAction(MaaContext *context, const char *entry, const char *pipeline_override, const MaaRect *box, const char *reco_detail)
MAA_FRAMEWORK_API MaaBool MaaContextOverridePipeline(MaaContext *context, const char *pipeline_override)
MAA_FRAMEWORK_API MaaTasker * MaaContextGetTasker(const MaaContext *context)
MAA_FRAMEWORK_API MaaContext * MaaContextClone(const MaaContext *context)
MAA_FRAMEWORK_API MaaBool MaaContextOverrideNext(MaaContext *context, const char *name, const MaaStringListBuffer *next_list)
MAA_FRAMEWORK_API MaaTaskId MaaContextGetTaskId(const MaaContext *context)
MAA_FRAMEWORK_API MaaTaskId MaaContextRunPipeline(MaaContext *context, const char *entry, const char *pipeline_override)
struct MaaImageBuffer MaaImageBuffer
Definition MaaDef.h:31
uint8_t MaaBool
Definition MaaDef.h:18
MaaId MaaTaskId
Definition MaaDef.h:25
MaaId MaaRecoId
Definition MaaDef.h:26
struct MaaStringListBuffer MaaStringListBuffer
Definition MaaDef.h:32
struct MaaTasker MaaTasker
Definition MaaDef.h:37
struct MaaContext MaaContext
Definition MaaDef.h:38
MaaId MaaNodeId
Definition MaaDef.h:27
#define MAA_FRAMEWORK_API
Definition MaaPort.h:36
Definition MaaDef.h:239