tool/CommandPhyWrite.h
author Florian Pose <fp@igh-essen.com>
Tue, 30 Sep 2008 07:34:55 +0000
changeset 1225 4d5b739edcb5
parent 1200 ce1a65f06efc
child 1363 11c0b2caa253
permissions -rw-r--r--
Introduced ec_datagram_zero().
/*****************************************************************************
 *
 * $Id$
 *
 ****************************************************************************/

#ifndef __COMMANDPHYWRITE_H__
#define __COMMANDPHYWRITE_H__

#include "Command.h"

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

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

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

    private:
        void loadPhyData(ec_ioctl_slave_phy_t *, const istream &);
};

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

#endif