Engine base fundamental interface. More...
#include <DGLE.h>
Public Member Functions | |
virtual DGLE_RESULT DGLE_API | GetGUID (GUID &guid)=0 |
Returns unique identifier of the last interface in the inheritance chain. | |
virtual DGLE_RESULT DGLE_API | ExecuteCommand (uint uiCmd, TVariant &stVar)=0 |
Executes some command using its index or bitmask. | |
virtual DGLE_RESULT DGLE_API | ExecuteTextCommand (const char *pcCommand, TVariant &stVar)=0 |
Executes some text command and returns result as variant. | |
virtual DGLE_RESULT DGLE_API | ExecuteTextCommandEx (const char *pcCommand, char *pcResult, uint &uiCharsCount)=0 |
Executes some text command and returns result as string. | |
Engine base fundamental interface.
Any engine interface must be derived from this interface.
|
pure virtual |
Executes some command using its index or bitmask.
Commands are specific for concrete interface. All commands should be described in documentation.
[in] | uiCmd | Command index or some bitmask. These values must be gotten from documentation. |
[in,out] | stVar | Variant with additional command parameters and for storing command result. |
|
pure virtual |
Executes some text command and returns result as variant.
Commands are specific for concrete interface. All commands should be described in documentation.
[in] | pcCommand | Pointer to allocated string with command. |
[in,out] | stVar | Variant with additional command parameters and for storing command result. |
|
pure virtual |
Executes some text command and returns result as string.
Commands are specific for concrete interface. All commands should be described in documentation.
[in] | pcCommand | Pointer to allocated string with command. |
[out] | pcResult | Pointer to allocated string to accept command result. |
[in,out] | uiCharsCount | Count of the chars in allocated result string. |
|
pure virtual |
Returns unique identifier of the last interface in the inheritance chain.
[out] | guid | Unique interface identifier. |