14 #include "CommandAlias.h" |
14 #include "CommandAlias.h" |
15 #include "CommandConfig.h" |
15 #include "CommandConfig.h" |
16 #include "CommandData.h" |
16 #include "CommandData.h" |
17 #include "CommandDebug.h" |
17 #include "CommandDebug.h" |
18 #include "CommandDomains.h" |
18 #include "CommandDomains.h" |
|
19 #include "CommandDownload.h" |
19 #include "CommandMaster.h" |
20 #include "CommandMaster.h" |
20 #include "CommandPdos.h" |
21 #include "CommandPdos.h" |
21 #include "CommandSdos.h" |
22 #include "CommandSdos.h" |
22 #include "CommandDownload.h" |
|
23 #include "CommandUpload.h" |
|
24 #include "CommandSlaves.h" |
|
25 #include "CommandSiiRead.h" |
23 #include "CommandSiiRead.h" |
26 #include "CommandSiiWrite.h" |
24 #include "CommandSiiWrite.h" |
|
25 #include "CommandSlaves.h" |
27 #include "CommandStates.h" |
26 #include "CommandStates.h" |
|
27 #include "CommandUpload.h" |
|
28 #include "CommandVersion.h" |
28 #include "CommandXml.h" |
29 #include "CommandXml.h" |
29 |
30 |
30 /*****************************************************************************/ |
31 /*****************************************************************************/ |
31 |
32 |
32 typedef list<Command *> CommandList; |
33 typedef list<Command *> CommandList; |
266 commandList.push_back(new CommandSiiRead()); |
267 commandList.push_back(new CommandSiiRead()); |
267 commandList.push_back(new CommandSiiWrite()); |
268 commandList.push_back(new CommandSiiWrite()); |
268 commandList.push_back(new CommandSlaves()); |
269 commandList.push_back(new CommandSlaves()); |
269 commandList.push_back(new CommandStates()); |
270 commandList.push_back(new CommandStates()); |
270 commandList.push_back(new CommandUpload()); |
271 commandList.push_back(new CommandUpload()); |
|
272 commandList.push_back(new CommandVersion()); |
271 commandList.push_back(new CommandXml()); |
273 commandList.push_back(new CommandXml()); |
272 |
274 |
273 getOptions(argc, argv); |
275 getOptions(argc, argv); |
274 |
276 |
275 matchingCommands = getMatchingCommands(commandName); |
277 matchingCommands = getMatchingCommands(commandName); |