Dynamixel  2.9.5
RoadNarrows Robotics Dynamixel Package
dynashell_cmd_core.cxx File Reference

The Dynamixel Shell Command Base and Derived Core Classes. More...

#include <sys/time.h>
#include <sys/types.h>
#include <stdio.h>
#include <unistd.h>
#include <ctype.h>
#include <cstring>
#include <iostream>
#include <fstream>
#include "rnr/rnrconfig.h"
#include "rnr/log.h"
#include "Dynamixel/Dynamixel.h"
#include "Dynamixel/DynaComm.h"
#include "Dynamixel/DynaServo.h"
#include "Dynamixel/DynaChain.h"
#include "Dynamixel/DynaBgThread.h"
#include "dynashell.h"
#include "dynashell_cmd.h"
#include "dynashell_util.h"

Go to the source code of this file.

Classes

class  DynaShellCmdNULL
 NULL command. More...
 
class  DynaShellCmdHelp
 Help command. More...
 
class  DynaShellCmdQuit
 Quit command. More...
 
class  DynaShellCmdExit
 Exit command. More...
 
class  DynaShellCmdLog
 Log command. More...
 
class  DynaShellCmdWait
 Wait command. More...
 
class  DynaShellCmdScript
 Script command. More...
 

Functions

void PublishShellCoreCommands (DynaShell &shell)
 Publish shell core commands to shell. More...
 

Detailed Description

The Dynamixel Shell Command Base and Derived Core Classes.

LastChangedDate
2015-01-12 10:56:06 -0700 (Mon, 12 Jan 2015)
Rev
3845
Author
Robin Knight (robin.nosp@m..kni.nosp@m.ght@r.nosp@m.oadn.nosp@m.arrow.nosp@m.s.co.nosp@m.m)

Definition in file dynashell_cmd_core.cxx.

Function Documentation

void PublishShellCoreCommands ( DynaShell shell)

Publish shell core commands to shell.

The core set includes the common shell base commands idependent of application.

shell Dynamixel shell.

Definition at line 689 of file dynashell_cmd_core.cxx.

References DynaShell::PublishCommand().

Referenced by DynaShellCmdChainOut::ArgToUInt(), and MainInit().

690 {
691  shell.PublishCommand(NULL, new DynaShellCmdHelp());
692  shell.PublishCommand(NULL, new DynaShellCmdQuit());
693  //shell.PublishCommand(NULL, new DynaShellCmdExit());
694  shell.PublishCommand(NULL, new DynaShellCmdLog());
695  shell.PublishCommand(NULL, new DynaShellCmdWait());
696  shell.PublishCommand("run", new DynaShellCmdScript());
697 }
void PublishCommand(const char *sParent, DynaShellCmd *pNewCmd)
Publish new command to shell.
Definition: dynashell.cxx:192