equal
deleted
inserted
replaced
39 { |
39 { |
40 public: |
40 public: |
41 CommandSlaves(); |
41 CommandSlaves(); |
42 |
42 |
43 string helpString() const; |
43 string helpString() const; |
44 void execute(MasterDevice &, const StringVector &); |
44 void execute(const StringVector &); |
45 |
45 |
46 protected: |
46 protected: |
47 struct Info { |
47 struct Info { |
48 string pos; |
48 string pos; |
49 string alias; |
49 string alias; |
51 string state; |
51 string state; |
52 string flag; |
52 string flag; |
53 string name; |
53 string name; |
54 }; |
54 }; |
55 |
55 |
56 void listSlaves(MasterDevice &, const SlaveList &); |
56 void listSlaves(MasterDevice &, const SlaveList &, bool); |
57 void showSlaves(MasterDevice &, const SlaveList &); |
57 void showSlaves(MasterDevice &, const SlaveList &); |
58 |
58 |
59 static bool slaveInList( const ec_ioctl_slave_t &, const SlaveList &); |
59 static bool slaveInList( const ec_ioctl_slave_t &, const SlaveList &); |
60 }; |
60 }; |
61 |
61 |