BufferBase abstract class. More...
Public Member Functions | |
def | advanceRptr |
Get the buffer length. | |
def | advanceWptr |
Get the buffer length. | |
def | empty |
Check on whether the buffer is empty. | |
def | full |
Check on whether the buffer is full. | |
def | get |
Get data from the buffer. | |
def | init |
def | length |
Get the buffer length. | |
def | put |
Write data into the buffer. | |
def | read |
Read data from the buffer. | |
def | readable |
Write data into the buffer. | |
def | reset |
Get the buffer length. | |
def | rptr |
Get the buffer length. | |
def | wptr |
Get the buffer length. | |
def | writable |
Write data into the buffer. | |
def | write |
Write data into the buffer. |
BufferBase abstract class.
This is the abstract interface class for various Buffer.
Definition at line 51 of file BufferBase.py.
def OpenRTM_aist.BufferBase.BufferBase.advanceRptr | ( | self, | |
n = 1 |
|||
) |
Get the buffer length.
Pure virtual function to get the buffer length.
Reimplemented in OpenRTM_aist.RingBuffer.RingBuffer.
Definition at line 326 of file BufferBase.py.
def OpenRTM_aist.BufferBase.BufferBase.advanceWptr | ( | self, | |
n = 1 |
|||
) |
Get the buffer length.
Pure virtual function to get the buffer length.
Reimplemented in OpenRTM_aist.RingBuffer.RingBuffer.
Definition at line 189 of file BufferBase.py.
def OpenRTM_aist.BufferBase.BufferBase.empty | ( | self | ) |
Check on whether the buffer is empty.
Pure virtual function to check on whether the buffer is empty.
Reimplemented in OpenRTM_aist.RingBuffer.RingBuffer.
Definition at line 418 of file BufferBase.py.
def OpenRTM_aist.BufferBase.BufferBase.full | ( | self | ) |
Check on whether the buffer is full.
Pure virtual function to check on whether the buffer is full.
Reimplemented in OpenRTM_aist.RingBuffer.RingBuffer.
Definition at line 280 of file BufferBase.py.
def OpenRTM_aist.BufferBase.BufferBase.get | ( | self | ) |
Get data from the buffer.
Reimplemented in OpenRTM_aist.BufferBase.NullBuffer.
Definition at line 347 of file BufferBase.py.
def OpenRTM_aist.BufferBase.BufferBase.init | ( | self, | |
prop | |||
) |
Reimplemented in OpenRTM_aist.RingBuffer.RingBuffer.
Definition at line 94 of file BufferBase.py.
def OpenRTM_aist.BufferBase.BufferBase.length | ( | self | ) |
Get the buffer length.
Reimplemented in OpenRTM_aist.BufferBase.NullBuffer.
Definition at line 117 of file BufferBase.py.
def OpenRTM_aist.BufferBase.BufferBase.put | ( | self, | |
data | |||
) |
Write data into the buffer.
Reimplemented in OpenRTM_aist.BufferBase.NullBuffer, and OpenRTM_aist.RingBuffer.RingBuffer.
Definition at line 209 of file BufferBase.py.
def OpenRTM_aist.BufferBase.BufferBase.read | ( | self, | |
value, | |||
sec = -1 , |
|||
nsec = -1 |
|||
) |
Read data from the buffer.
Reimplemented in OpenRTM_aist.RingBuffer.RingBuffer.
Definition at line 369 of file BufferBase.py.
def OpenRTM_aist.BufferBase.BufferBase.readable | ( | self | ) |
Write data into the buffer.
Pure virtual function to write data into the buffer.
value | Target data to write. |
Reimplemented in OpenRTM_aist.RingBuffer.RingBuffer.
Definition at line 396 of file BufferBase.py.
def OpenRTM_aist.BufferBase.BufferBase.reset | ( | self | ) |
Get the buffer length.
Pure virtual function to get the buffer length.
Reimplemented in OpenRTM_aist.RingBuffer.RingBuffer.
Definition at line 142 of file BufferBase.py.
def OpenRTM_aist.BufferBase.BufferBase.rptr | ( | self, | |
n = 0 |
|||
) |
Get the buffer length.
Pure virtual function to get the buffer length.
Reimplemented in OpenRTM_aist.RingBuffer.RingBuffer.
Definition at line 303 of file BufferBase.py.
def OpenRTM_aist.BufferBase.BufferBase.wptr | ( | self, | |
n = 0 |
|||
) |
Get the buffer length.
Pure virtual function to get the buffer length.
Reimplemented in OpenRTM_aist.RingBuffer.RingBuffer.
Definition at line 165 of file BufferBase.py.
def OpenRTM_aist.BufferBase.BufferBase.writable | ( | self | ) |
Write data into the buffer.
Pure virtual function to write data into the buffer.
value | Target data to write. |
Reimplemented in OpenRTM_aist.RingBuffer.RingBuffer.
Definition at line 258 of file BufferBase.py.
def OpenRTM_aist.BufferBase.BufferBase.write | ( | self, | |
value, | |||
sec = -1 , |
|||
nsec = -1 |
|||
) |
Write data into the buffer.
Reimplemented in OpenRTM_aist.BufferBase.NullBuffer, and OpenRTM_aist.RingBuffer.RingBuffer.
Definition at line 231 of file BufferBase.py.