tool/CommandAlias.h
author Florian Pose <fp@igh-essen.com>
Fri, 25 Jul 2008 08:52:45 +0000
changeset 1146 f18d124d7fbc
parent 1142 59be91dfcbe1
child 1151 1fc1535dec29
permissions -rw-r--r--
Moved slaveState() to Command::alStateString().
/*****************************************************************************
 *
 * $Id$
 *
 ****************************************************************************/

#ifndef __COMMANDALIAS_H__
#define __COMMANDALIAS_H__

#include "Command.h"

/****************************************************************************/

class CommandAlias:
    public Command
{
    public:
        CommandAlias();

        string helpString() const;
        void execute(MasterDevice &, const StringVector &);

    protected:
        void writeSlaveAlias(MasterDevice &, uint16_t, uint16_t);
};

/****************************************************************************/

#endif