tool/CommandAlias.h
author Florian Pose <fp@igh-essen.com>
Thu, 31 Jul 2008 09:30:38 +0000
changeset 1173 2ec9651a6c89
parent 1151 1fc1535dec29
child 1363 11c0b2caa253
permissions -rw-r--r--
Only warn (and do not abort) if Pdo assignment/mapping configuration
fails, or is impossible.
/*****************************************************************************
 *
 * $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 &, const ec_ioctl_slave_t &,
                uint16_t);
};

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

#endif