Reimplemented from DeviceState.
Definition at line 162 of file DeviceState.cpp.
163{
164
165
168 {
169
172 return value > mHigh || value < mLow;
173
176 return value <= mHigh && value > mLow;
177
179 return value <= mLow || value >= mHigh;
180
182 return value < mHigh && value > mLow;
183
185 return value == mLow || value == mHigh;
186
188 return value < mLow;
189
191 return value <= mHigh;
192
194 return value > mHigh;
195
197 return value >= mLow;
198
200 return 1;
202 default:
203 return 0;
204 }
205}
@ DT_GREATER_THAN_OR_EQUAL
int mInterface
This is different from the value or values that an interface can take on.
virtual int GetState(int iface) const
References DT_EQUAL, DT_FALSE, DT_GREATER_THAN, DT_GREATER_THAN_OR_EQUAL, DT_INSIDE, DT_LESS_THAN, DT_LESS_THAN_OR_EQUAL, DT_NOT_EQUAL, DT_NOT_INSIDE, DT_NOT_OUTSIDE, DT_ON_EDGE, DT_OUTSIDE, DT_TRUE, PDevice::GetState(), DeviceState::mDevice, DeviceState::mDeviceTest, and DeviceState::mInterface.