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