OpenRTM_aist
BufferStatus.py
Go to the documentation of this file.
1
#!/usr/bin/env python
2
# -*- coding: euc-jp -*-
3
4
19
20
21
class
BufferStatus
:
22
"""
23
"""
24
25
BUFFER_OK = 0
26
BUFFER_ERROR = 1
27
BUFFER_FULL = 2
28
BUFFER_EMPTY = 3
29
NOT_SUPPORTED = 4
30
TIMEOUT = 5
31
PRECONDITION_NOT_MET = 6
32
33
def
toString
(self, status):
34
str = [
"BUFFER_OK"
,
35
"BUFFER_ERROR"
,
36
"BUFFER_FULL"
,
37
"BUFFER_EMPTY"
,
38
"NOT_SUPPORTED"
,
39
"TIMEOUT"
,
40
"PRECONDITION_NOT_MET"
]
41
return
str[status]
OpenRTM_aist.BufferStatus.BufferStatus.toString
def toString(self, status)
Definition:
BufferStatus.py:33
OpenRTM_aist.BufferStatus.BufferStatus
Definition:
BufferStatus.py:21
openrtm_aist_python
Author(s): Shinji Kurihara
autogenerated on Mon Feb 28 2022 23:01:06