tool/CommandPhyWrite.h
author Florian Pose <fp@igh-essen.com>
Mon, 17 Nov 2008 17:18:02 +0000
changeset 1313 ed15eef57d5c
parent 1200 ce1a65f06efc
child 1363 11c0b2caa253
permissions -rw-r--r--
Improved error case return codes of many functions.
/*****************************************************************************
 *
 * $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