fp@1184: /***************************************************************************** fp@1184: * 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@1184: * fp@1184: ****************************************************************************/ fp@1184: fp@1184: #ifndef __SDOCOMMAND_H__ fp@1184: #define __SDOCOMMAND_H__ fp@1184: fp@1184: #include "Command.h" fp@1835: #include "DataTypeHandler.h" fp@1184: fp@1184: /****************************************************************************/ fp@1184: fp@1184: class SdoCommand: fp@1835: public Command, fp@1835: public DataTypeHandler fp@1184: { fp@1184: public: fp@1184: SdoCommand(const string &, const string &); fp@1184: fp@1184: static const char *abortText(uint32_t); fp@1184: fp@1184: private: fp@1184: struct AbortMessage { fp@1184: uint32_t code; fp@1184: const char *message; fp@1184: }; fp@1184: fp@1184: static const AbortMessage abortMessages[]; fp@1184: }; fp@1184: fp@1184: /****************************************************************************/ fp@1184: fp@1184: #endif