Public Member Functions
OpenRTM_aist.BufferBase.BufferBase Class Reference

BufferBase abstract class. More...

Inheritance diagram for OpenRTM_aist.BufferBase.BufferBase:
Inheritance graph
[legend]

List of all members.

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.

Detailed Description

BufferBase abstract class.

This is the abstract interface class for various Buffer.

Since:
0.4.0

Definition at line 51 of file BufferBase.py.


Member Function Documentation

Get the buffer length.

Pure virtual function to get the buffer length.

Returns:
buffer length

Reimplemented in OpenRTM_aist.RingBuffer.RingBuffer.

Definition at line 326 of file BufferBase.py.

Get the buffer length.

Pure virtual function to get the buffer length.

Returns:
buffer length

Reimplemented in OpenRTM_aist.RingBuffer.RingBuffer.

Definition at line 189 of file BufferBase.py.

Check on whether the buffer is empty.

Pure virtual function to check on whether the buffer is empty.

Returns:
True if the buffer is empty, else false.

Reimplemented in OpenRTM_aist.RingBuffer.RingBuffer.

Definition at line 418 of file BufferBase.py.

Check on whether the buffer is full.

Pure virtual function to check on whether the buffer is full.

Returns:
True if the buffer is full, else false.

Reimplemented in OpenRTM_aist.RingBuffer.RingBuffer.

Definition at line 280 of file BufferBase.py.

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.

Get the buffer length.

Returns:
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.

Write data into the buffer.

Pure virtual function to write data into the buffer.

Parameters:
valueTarget data to write.
Returns:
Result of having written in data (true:Successful, false:Failed)

Reimplemented in OpenRTM_aist.RingBuffer.RingBuffer.

Definition at line 396 of file BufferBase.py.

Get the buffer length.

Pure virtual function to get the buffer length.

Returns:
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.

Returns:
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.

Returns:
buffer length

Reimplemented in OpenRTM_aist.RingBuffer.RingBuffer.

Definition at line 165 of file BufferBase.py.

Write data into the buffer.

Pure virtual function to write data into the buffer.

Parameters:
valueTarget data to write.
Returns:
Result of having written in data (true:Successful, false:Failed)

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.


The documentation for this class was generated from the following file:


openrtm_aist_python
Author(s): Shinji Kurihara
autogenerated on Thu Aug 27 2015 14:17:28