tool/CommandDomains.h
author Florian Pose <fp@igh-essen.com>
Wed, 01 Oct 2008 10:06:51 +0000
changeset 1239 b50b93faaf3e
parent 1166 006244d53f68
child 1363 11c0b2caa253
permissions -rw-r--r--
Used ERR_PTR() macro for return value of ecrt_request_master().
/*****************************************************************************
 *
 * $Id$
 *
 ****************************************************************************/

#ifndef __COMMANDDOMAINS_H__
#define __COMMANDDOMAINS_H__

#include "Command.h"

/****************************************************************************/

class CommandDomains:
    public Command
{
    public:
        CommandDomains();

        string helpString() const;
        void execute(MasterDevice &, const StringVector &);

    protected:
		void showDomain(MasterDevice &, const ec_ioctl_domain_t &);
};

/****************************************************************************/

#endif