/*
 * SPDX-FileCopyrightText: 2011 Copyright contributors to the cppTango project
 *
 * SPDX-License-Identifier: LGPL-3.0-or-later
 */
// NOLINTBEGIN(*)
#ifndef TANGO_TEST_DEVICE_SERVER_GENERIC_IOSTR1_H
  #define TANGO_TEST_DEVICE_SERVER_GENERIC_IOSTR1_H

  #include <tango/tango.h>

//
// Define classes for two commands
//

class IOStr1 : public Tango::Command
{
  public:
    IOStr1(const char *, Tango::CmdArgType, Tango::CmdArgType, const char *, const char *);

    ~IOStr1() { }

    virtual bool is_allowed(Tango::DeviceImpl *, const CORBA::Any &);
    virtual CORBA::Any *execute(Tango::DeviceImpl *, const CORBA::Any &);
};

class IOPollStr1 : public Tango::Command
{
  public:
    IOPollStr1(const char *, Tango::CmdArgType, Tango::CmdArgType, const char *, const char *);

    ~IOPollStr1() { }

    virtual bool is_allowed(Tango::DeviceImpl *, const CORBA::Any &);
    virtual CORBA::Any *execute(Tango::DeviceImpl *, const CORBA::Any &);

    long num;
};

#endif
// NOLINTEND(*)
