tool/CommandCrc.h
branchstable-1.5
changeset 2666 d9e14a0ddbd6
equal deleted inserted replaced
2658:7690a5df7539 2666:d9e14a0ddbd6
       
     1 /*****************************************************************************
       
     2  *
       
     3  *  Copyright (C) 2006-2017  Florian Pose, Ingenieurgemeinschaft IgH
       
     4  *
       
     5  *  This file is part of the IgH EtherCAT Master.
       
     6  *
       
     7  *  The IgH EtherCAT Master is free software; you can redistribute it and/or
       
     8  *  modify it under the terms of the GNU General Public License version 2, as
       
     9  *  published by the Free Software Foundation.
       
    10  *
       
    11  *  The IgH EtherCAT Master is distributed in the hope that it will be useful,
       
    12  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    13  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
       
    14  *  Public License for more details.
       
    15  *
       
    16  *  You should have received a copy of the GNU General Public License along
       
    17  *  with the IgH EtherCAT Master; if not, write to the Free Software
       
    18  *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
       
    19  *
       
    20  *  ---
       
    21  *
       
    22  *  The license mentioned above concerns the source code only. Using the
       
    23  *  EtherCAT technology and brand is only permitted in compliance with the
       
    24  *  industrial property and similar rights of Beckhoff Automation GmbH.
       
    25  *
       
    26  ****************************************************************************/
       
    27 
       
    28 #ifndef __COMMANDCRC_H__
       
    29 #define __COMMANDCRC_H__
       
    30 
       
    31 #include "Command.h"
       
    32 #include "DataTypeHandler.h"
       
    33 
       
    34 /****************************************************************************/
       
    35 
       
    36 class CommandCrc:
       
    37     public Command,
       
    38     public DataTypeHandler
       
    39 {
       
    40     public:
       
    41         CommandCrc();
       
    42 
       
    43         string helpString(const string &) const;
       
    44         void execute(const StringVector &);
       
    45 };
       
    46 
       
    47 /****************************************************************************/
       
    48 
       
    49 #endif