equal
deleted
inserted
replaced
92 }; |
92 }; |
93 }; |
93 }; |
94 |
94 |
95 /****************************************************************************/ |
95 /****************************************************************************/ |
96 |
96 |
|
97 class MasterDeviceEoeException: |
|
98 public MasterDeviceException |
|
99 { |
|
100 friend class MasterDevice; |
|
101 |
|
102 public: |
|
103 uint16_t result; |
|
104 |
|
105 protected: |
|
106 /** Constructor with error code parameter. */ |
|
107 MasterDeviceEoeException(uint16_t result): |
|
108 MasterDeviceException("EoE set IP parameter failed."), |
|
109 result(result) {}; |
|
110 }; |
|
111 |
|
112 /****************************************************************************/ |
|
113 |
97 class MasterDevice |
114 class MasterDevice |
98 { |
115 { |
99 public: |
116 public: |
100 MasterDevice(unsigned int = 0U); |
117 MasterDevice(unsigned int = 0U); |
101 ~MasterDevice(); |
118 ~MasterDevice(); |
142 #ifdef EC_EOE |
159 #ifdef EC_EOE |
143 void getEoeHandler(ec_ioctl_eoe_handler_t *, uint16_t); |
160 void getEoeHandler(ec_ioctl_eoe_handler_t *, uint16_t); |
144 #endif |
161 #endif |
145 void readSoe(ec_ioctl_slave_soe_read_t *); |
162 void readSoe(ec_ioctl_slave_soe_read_t *); |
146 void writeSoe(ec_ioctl_slave_soe_write_t *); |
163 void writeSoe(ec_ioctl_slave_soe_write_t *); |
|
164 void setIpParam(ec_ioctl_slave_eoe_ip_t *); |
147 |
165 |
148 unsigned int getMasterCount() const {return masterCount;} |
166 unsigned int getMasterCount() const {return masterCount;} |
149 |
167 |
150 private: |
168 private: |
151 unsigned int index; |
169 unsigned int index; |