mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-02-05 19:39:50 +08:00
Redesigned command interface.
This commit is contained in:
29
tool/CommandAlias.h
Normal file
29
tool/CommandAlias.h
Normal file
@@ -0,0 +1,29 @@
|
||||
/*****************************************************************************
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __COMMANDALIAS_H__
|
||||
#define __COMMANDALIAS_H__
|
||||
|
||||
#include "Command.h"
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
class CommandAlias:
|
||||
public Command
|
||||
{
|
||||
public:
|
||||
CommandAlias();
|
||||
|
||||
string helpString() const;
|
||||
void execute(MasterDevice &, const StringVector &);
|
||||
|
||||
protected:
|
||||
void writeSlaveAlias(MasterDevice &, uint16_t, uint16_t);
|
||||
};
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user