fp@1335: /***************************************************************************** fp@1335: * fp@1363: * $Id$ fp@1363: * fp@1363: * Copyright (C) 2006-2009 Florian Pose, Ingenieurgemeinschaft IgH fp@1363: * fp@1363: * This file is part of the IgH EtherCAT Master. fp@1363: * fp@1363: * The IgH EtherCAT Master is free software; you can redistribute it and/or fp@1363: * modify it under the terms of the GNU General Public License version 2, as fp@1363: * published by the Free Software Foundation. fp@1363: * fp@1363: * The IgH EtherCAT Master is distributed in the hope that it will be useful, fp@1363: * but WITHOUT ANY WARRANTY; without even the implied warranty of fp@1363: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General fp@1363: * Public License for more details. fp@1363: * fp@1363: * You should have received a copy of the GNU General Public License along fp@1363: * with the IgH EtherCAT Master; if not, write to the Free Software fp@1363: * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA fp@1363: * fp@1363: * --- fp@1363: * fp@1363: * The license mentioned above concerns the source code only. Using the fp@1363: * EtherCAT technology and brand is only permitted in compliance with the fp@1363: * industrial property and similar rights of Beckhoff Automation GmbH. fp@1335: * fp@1335: ****************************************************************************/ fp@1335: fp@1335: #ifndef __COMMANDFOEWRITE_H__ fp@1335: #define __COMMANDFOEWRITE_H__ fp@1335: fp@1335: #include "FoeCommand.h" fp@1335: fp@1335: /****************************************************************************/ fp@1335: fp@1335: class CommandFoeWrite: fp@1335: public FoeCommand fp@1335: { fp@1335: public: fp@1335: CommandFoeWrite(); fp@1335: fp@1968: string helpString(const string &) const; fp@1826: void execute(const StringVector &); fp@1335: fp@1335: protected: fp@1335: void loadFoeData(ec_ioctl_slave_foe_t *, const istream &); fp@1335: }; fp@1335: fp@1335: /****************************************************************************/ fp@1335: fp@1335: #endif