appkit  1.5.1
RoadNarrows Robotics Application Kit
CmdAddOns.cxx File Reference

Command line interface command add-ons implementation. More...

#include <unistd.h>
#include <stdlib.h>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include <set>
#include <map>
#include "rnr/rnrconfig.h"
#include "rnr/log.h"
#include "rnr/appkit/StringTheory.h"
#include "rnr/appkit/CmdCore.h"
#include "rnr/appkit/CmdDef.h"
#include "rnr/appkit/CommandLine.h"
#include "rnr/appkit/CmdAddOns.h"

Go to the source code of this file.

Namespaces

 rnr
 RoadNarrows Robotics.
 
 rnr::cmd
 Commands.
 
 rnr::cmd::addons
 Add-Ons.
 

Functions

static string rnr::cmd::addons::atname ("@N@")
 string to replace by command name
 
static int rnr::cmd::addons::execHelp (CommandLine &cli, const CmdExtArgVec &argv)
 Execute 'help' command. More...
 
int rnr::cmd::addons::printCmdHelp (ostream &os, const CmdDef &cmddef, const HelpSect section)
 
int rnr::cmd::addons::printCmdHelp (ostream &os, const CmdDesc &desc, const HelpSect section)
 
int rnr::cmd::addons::printCmdHelp (ostream &os, const string &strName, const string &strSyntax, const string &strSynopsis, const string &strLongDesc, const HelpSect section)
 
int rnr::cmd::addons::addHelpCommand (CommandLine &cli, const string &strName)
 
static int rnr::cmd::addons::execQuit (CommandLine &cli, const CmdExtArgVec &argv)
 Execute 'quit' command. More...
 
int rnr::cmd::addons::addQuitCommand (CommandLine &cli, const string &strName)
 
static int rnr::cmd::addons::execBtEnable (CommandLine &cli, const CmdExtArgVec &argv)
 Execute 'backtrace' command. More...
 
int rnr::cmd::addons::addBtEnableCommand (CommandLine &cli, const string &strName)
 

Detailed Description

Command line interface command add-ons implementation.

Author
Robin Knight (robin.nosp@m..kni.nosp@m.ght@r.nosp@m.oadn.nosp@m.arrow.nosp@m.s.co.nosp@m.m)
Copyright
© 2016-2017. RoadNarrows LLC.
http://www.roadnarrows.com
All Rights Reserved
License:
MIT

Definition in file CmdAddOns.cxx.