1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
|
// NOLINTBEGIN(*)
#include <tango/tango.h>
//
// Define classes for four commands
//
class IOAddAttribute : public Tango::Command
{
public:
IOAddAttribute(const char *, Tango::CmdArgType, Tango::CmdArgType, const char *, const char *);
~IOAddAttribute() { }
virtual bool is_allowed(Tango::DeviceImpl *, const CORBA::Any &);
virtual CORBA::Any *execute(Tango::DeviceImpl *, const CORBA::Any &);
};
class IORemoveAttribute : public Tango::Command
{
public:
IORemoveAttribute(const char *, Tango::CmdArgType, Tango::CmdArgType, const char *, const char *);
~IORemoveAttribute() { }
virtual bool is_allowed(Tango::DeviceImpl *, const CORBA::Any &);
virtual CORBA::Any *execute(Tango::DeviceImpl *, const CORBA::Any &);
};
class IOAddCommand : public Tango::Command
{
public:
IOAddCommand(const char *, Tango::CmdArgType, Tango::CmdArgType, const char *, const char *);
~IOAddCommand() { }
virtual bool is_allowed(Tango::DeviceImpl *, const CORBA::Any &);
virtual CORBA::Any *execute(Tango::DeviceImpl *, const CORBA::Any &);
};
class IORemoveCommand : public Tango::Command
{
public:
IORemoveCommand(const char *, Tango::CmdArgType, Tango::CmdArgType, const char *, const char *);
~IORemoveCommand() { }
virtual bool is_allowed(Tango::DeviceImpl *, const CORBA::Any &);
virtual CORBA::Any *execute(Tango::DeviceImpl *, const CORBA::Any &);
};
class DynCommand : public Tango::Command
{
public:
DynCommand(const char *, Tango::CmdArgType, Tango::CmdArgType, const char *, const char *);
~DynCommand() { }
virtual bool is_allowed(Tango::DeviceImpl *, const CORBA::Any &);
virtual CORBA::Any *execute(Tango::DeviceImpl *, const CORBA::Any &);
};
// NOLINTEND(*)
|