Maa Framework (main) v2.2.2
A automation black-box testing framework based on image recognition.
Loading...
Searching...
No Matches
MaaContext.h File Reference

Context is a context for running tasks, recognitions, actions, and other operations. More...

#include "../MaaDef.h"
#include "../MaaPort.h"

Go to the source code of this file.

Functions

MAA_FRAMEWORK_API MaaTaskId MaaContextRunPipeline (MaaContext *context, const char *entry, const char *pipeline_override)
 
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 MaaBool MaaContextOverrideNext (MaaContext *context, const char *name, const MaaStringListBuffer *next_list)
 
MAA_FRAMEWORK_API MaaTaskId MaaContextGetTaskId (const MaaContext *context)
 
MAA_FRAMEWORK_API MaaTaskerMaaContextGetTasker (const MaaContext *context)
 
MAA_FRAMEWORK_API MaaContextMaaContextClone (const MaaContext *context)
 

Detailed Description

Context is a context for running tasks, recognitions, actions, and other operations.

Author

Function Documentation

◆ MaaContextRunPipeline()

MAA_FRAMEWORK_API MaaTaskId MaaContextRunPipeline ( MaaContext context,
const char *  entry,
const char *  pipeline_override 
)

◆ MaaContextRunRecognition()

MAA_FRAMEWORK_API MaaRecoId MaaContextRunRecognition ( MaaContext context,
const char *  entry,
const char *  pipeline_override,
const MaaImageBuffer image 
)

◆ MaaContextRunAction()

MAA_FRAMEWORK_API MaaNodeId MaaContextRunAction ( MaaContext context,
const char *  entry,
const char *  pipeline_override,
const MaaRect box,
const char *  reco_detail 
)

◆ MaaContextOverridePipeline()

MAA_FRAMEWORK_API MaaBool MaaContextOverridePipeline ( MaaContext context,
const char *  pipeline_override 
)

◆ MaaContextOverrideNext()

MAA_FRAMEWORK_API MaaBool MaaContextOverrideNext ( MaaContext context,
const char *  name,
const MaaStringListBuffer next_list 
)

◆ MaaContextGetTaskId()

MAA_FRAMEWORK_API MaaTaskId MaaContextGetTaskId ( const MaaContext context)

◆ MaaContextGetTasker()

MAA_FRAMEWORK_API MaaTasker * MaaContextGetTasker ( const MaaContext context)

◆ MaaContextClone()

MAA_FRAMEWORK_API MaaContext * MaaContextClone ( const MaaContext context)