BufferStatus.py
Go to the documentation of this file.
1 #!/usr/bin/env python
2 # -*- coding: euc-jp -*-
3 
4 
19 
20 
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_python
Author(s): Shinji Kurihara
autogenerated on Thu Jun 6 2019 19:11:34