Command to add new nodes to the node hierarchy. More...
#include "api/command.h"
Static Public Member Functions | |
static INewCommand * | create (const GUID &module_id, const string &node_name, const CPath &parent_path) |
Create an instance of INewCommand Use INewCommand to create nodes (aka modules instances). More... | |
Additional Inherited Members | |
![]() | |
virtual CError | execute (integra_internal::CServer &server, CCommandSource source, CCommandResult *result)=0 |
Internal use only. | |
Command to add new nodes to the node hierarchy.
|
static |
Create an instance of INewCommand Use INewCommand to create nodes (aka modules instances).
module_id | the guid of the module you want to instantiate (see IInterfaceDefinition) |
node_name | name for the new module instance. Must be unique within siblings, must only use characters within CStringHelper::node_name_character_set |
parent_path | node instance under which to create the new node. Supply an empty CPath to create a top-level node. |