MCPcopy Create free account
hub / github.com/ComodoSecurity/openedr / createCommand

Function createCommand

edrav2/iprj/libcore/src/command.cpp:91–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89//
90//
91ObjPtr<ICommand> createCommand(Variant vCommandDescriptor)
92{
93 auto pCommand = queryInterfaceSafe<ICommand>(vCommandDescriptor);
94 if (pCommand)
95 return pCommand;
96 if (vCommandDescriptor.has("clsid"))
97 return queryInterface<ICommand>(createObject(vCommandDescriptor));
98 return createObject<Command>(vCommandDescriptor);
99}
100
101//
102//

Callers 15

test_core.cppFile · 0.85
testCommandExecutionFunction · 0.85
testCommandPassParameterFunction · 0.85
test_command.cppFile · 0.85
loadConfigDataMethod · 0.85
finalConstructMethod · 0.85
HandleMethodCallMethod · 0.85
application.cppFile · 0.85
execCommandFunction · 0.85

Calls 2

DictionaryClass · 0.50
hasMethod · 0.45

Tested by 2

testCommandExecutionFunction · 0.68
testCommandPassParameterFunction · 0.68