author | Florian Pose <fp@igh.de> |
Mon, 04 Sep 2017 17:12:59 +0200 | |
branch | stable-1.5 |
changeset 2681 | 9953c0d372ab |
parent 1968 | 4f682084c643 |
permissions | -rw-r--r-- |
1422
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
1 |
/***************************************************************************** |
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
2 |
* |
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
3 |
* $Id$ |
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
4 |
* |
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
5 |
* Copyright (C) 2006-2009 Florian Pose, Ingenieurgemeinschaft IgH |
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
6 |
* |
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
7 |
* This file is part of the IgH EtherCAT Master. |
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
8 |
* |
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
9 |
* The IgH EtherCAT Master is free software; you can redistribute it and/or |
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
10 |
* modify it under the terms of the GNU General Public License version 2, as |
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
11 |
* published by the Free Software Foundation. |
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
12 |
* |
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
13 |
* The IgH EtherCAT Master is distributed in the hope that it will be useful, |
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
14 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
15 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General |
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
16 |
* Public License for more details. |
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
17 |
* |
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
18 |
* You should have received a copy of the GNU General Public License along |
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
19 |
* with the IgH EtherCAT Master; if not, write to the Free Software |
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
20 |
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
21 |
* |
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
22 |
* --- |
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
23 |
* |
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
24 |
* The license mentioned above concerns the source code only. Using the |
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
25 |
* EtherCAT technology and brand is only permitted in compliance with the |
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
26 |
* industrial property and similar rights of Beckhoff Automation GmbH. |
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
27 |
* |
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
28 |
****************************************************************************/ |
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
29 |
|
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
30 |
#ifndef __COMMANDGRAPH_H__ |
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
31 |
#define __COMMANDGRAPH_H__ |
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
32 |
|
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
33 |
#include "Command.h" |
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
34 |
|
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
35 |
/****************************************************************************/ |
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
36 |
|
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
37 |
class CommandGraph: |
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
38 |
public Command |
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
39 |
{ |
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
40 |
public: |
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
41 |
CommandGraph(); |
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
42 |
|
1968
4f682084c643
Implemented drive_no for command-line tool; binary base name is now a
Florian Pose <fp@igh-essen.com>
parents:
1826
diff
changeset
|
43 |
string helpString(const string &) const; |
1826
ec6223c3b7ec
Multi-master support for command-line tool. The --master option supports
Florian Pose <fp@igh-essen.com>
parents:
1422
diff
changeset
|
44 |
void execute(const StringVector &); |
1422
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
45 |
}; |
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
46 |
|
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
47 |
/****************************************************************************/ |
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
48 |
|
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
49 |
#endif |