1 #ifndef LR_PROTOCOL_SDK_API_FUNCTIONS_H_
4 #define LR_PROTOCOL_SDK_API_FUNCTIONS_H_
10 struct ApiFunctionData;
35 const char* mDisplayName =
"",
49 const char* mStepName,
77 void SetResultMessage(
87 virtual void Init() = 0;
99 virtual void Invoke() = 0;
104 virtual void Terminate() = 0;
110 virtual void Abort() = 0;
126 void InternalTerminate();
129 void InternalAbort();
135 ApiFunctionData* m_data;
char * m_stepName
The display name for the step in which this API function is called.
Definition: ApiFunctions.h:112
This file contains declarations of protocol exception.
Class CProtocolException represents an exception condition.
Definition: ProtocolException.h:20
char * m_displayName
The API function display name used in log messages and in the result report.
Definition: ApiFunctions.h:113
char * m_fullName
The name used in log messages.
Definition: ApiFunctions.h:115
The base class for handling API execution.
Definition: ApiFunctions.h:27
int m_iconId
The API function icon id. The icon is used in the test result report.
Definition: ApiFunctions.h:114