|
Open Model Railroad Network (OpenMRN)
|
Container for all the general commands. More...
#include <GeneralCommands.hxx>
Public Member Functions | |
| GeneralCommands (Console *console) | |
| Constructor. | |
Private Member Functions | |
| DISALLOW_COPY_AND_ASSIGN (GeneralCommands) | |
Static Private Member Functions | |
| static Console::CommandStatus | version_command (FILE *fp, int argc, const char *argv[], void *context) |
| Concatinate files. | |
Container for all the general commands.
This class can be used by intantiating an instance of GeneralCommands and passing to the constructor a Console instance reference. The commands implemented by GeneralCommands will be added to the Console instance.
Definition at line 46 of file GeneralCommands.hxx.
|
inline |
Constructor.
| console | console instance to add the commands to |
Definition at line 51 of file GeneralCommands.hxx.
|
inlinestaticprivate |
Concatinate files.
| fp | file pointer to console |
| argc | number of arguments including the command itself |
| argv | array of arguments starting with the command itself |
| context | unused |
Definition at line 63 of file GeneralCommands.hxx.