#include <database.h>
The SDKDatabaseInterface is a database to store functions and commands and to define a menu structure.
Private Member Functions | |
MAXON_INTERFACE (SDKDatabaseInterface, MAXON_REFERENCE_CONST, "net.maxonsdk.interface.database") | |
Private Attributes | |
MAXON_INTERFACE_SINGLE_IMPLEMENTATION | |
|
private |
|
static |
Adds an action to the database. Such an action is represented in the GUI and used to call functions.
[in] | name | The name of the Action. Will be displayed in the GUI. |
[in] | ID | The Id of the Action. Used to associate an Action with a function in AddFunction() with the FunctionSettings argument. |
[in] | path | The menu structure containing the Action in the GUI. Menus have to be separated with "::". |
|
static |
Adds a function to the function database.
[in] | d | A delegate storing the reference to a C++ function. |
[in] | settings | The function settings defining the behaviour of the function. |
|
static |
Executes all functions that are suitable for automatic testing (FunctionSettings._startup = true).
|
static |
Executes all functions (including functions not suitable for automatic testing).
|
static |
Executes the functions associated with the Action of the given ID.
[in] | ID | An Action ID. |
|
static |
Adds a command to the function database.
[in] | d | A delegate storing the reference to a C++ function. |
[in] | settings | The function settings defining the behaviour of the function. |
|
static |
Adds a classic command. The command invokes the CommandData plugin that was registered with the returned ID.
[in] | settings | Classic command settings. |
|
static |
Executes the given ID. param[in] ID A command ID, function ID or action ID. param[out] ID The plugin CommandData ID if it is a classic command. param[in] doc The document to execute a command on.
|
static |
Returns all function IDs.
|
static |
Gets all auto-test funtions.
[out] | ids | BaseArray filled with the IDs of auto test functions. |
|
static |
Returns all command IDs.
|
static |
Returns all classic command IDs.
|
static |
Checks if the given ID is a function ID.
[in] | id | The ID to check |
|
static |
Checks if the given ID is an action ID.
[in] | id | The ID to check |
|
static |
Checks if the given ID is a command ID.
[in] | id | The ID to check |
|
static |
Checks if the given ID is a classic command ID.
[in] | id | The ID to check |
|
static |
|
static |
Executes the given command. Compare ExecuteCommandEx().
[in] | id | The ID of a function. |
[in] | doc | The BaseDocument to execute the command in. |
|
static |
|
static |
Executes an action or function.
[in] | ID | The ID of a function or action |
|
static |
Executes the given command.
[in] | ID | The ID of a command. |
[in] | doc | The BaseDocument to execute the command in. |
|
static |
Returns the plugin ID of the given classic command.
[in] | ID | The ID of a classic command. |
[in,out] | pluginID | The classic plugin ID; to be used with CallCommand(). |
|
static |
Returns an array with execution statistics of the current session.
[out] | statistics | An array that will be filled with statistics. |
|
static |
Provides the IDs of all auto-test functions.
[out] | ids | An array that will be filled with function IDs. |
|
private |