20 #ifndef RTC_DATAPORTSTATUS_H
21 #define RTC_DATAPORTSTATUS_H
186 const char* str[] = {
198 "PRECONDITION_NOT_MET",
233 #define DATAPORTSTATUS_ENUM \
234 typedef ::RTC::DataPortStatus::Enum ReturnCode; \
235 using ::RTC::DataPortStatus::PORT_OK; \
236 using ::RTC::DataPortStatus::PORT_ERROR; \
237 using ::RTC::DataPortStatus::BUFFER_FULL; \
238 using ::RTC::DataPortStatus::BUFFER_EMPTY; \
239 using ::RTC::DataPortStatus::BUFFER_TIMEOUT; \
240 using ::RTC::DataPortStatus::SEND_FULL; \
241 using ::RTC::DataPortStatus::SEND_TIMEOUT; \
242 using ::RTC::DataPortStatus::RECV_EMPTY; \
243 using ::RTC::DataPortStatus::RECV_TIMEOUT; \
244 using ::RTC::DataPortStatus::INVALID_ARGS; \
245 using ::RTC::DataPortStatus::PRECONDITION_NOT_MET; \
246 using ::RTC::DataPortStatus::CONNECTION_LOST; \
247 using ::RTC::DataPortStatus::UNKNOWN_ERROR;
249 #endif // RTC_DATAPORTSTATUS_H