OpenRTM-aist-Python 1.1.2
|
Public Member Functions | |
def | __init__ |
Constructor. More... | |
def | init |
void init(const coil::Properties& prop) | |
def | length |
Get the buffer length. More... | |
def | reset |
Get the buffer length. More... | |
def | wptr |
Get the buffer length. More... | |
def | advanceWptr |
Get the buffer length. More... | |
def | put |
Write data into the buffer. More... | |
def | write |
Write data into the buffer. More... | |
def | writable |
Write data into the buffer. More... | |
def | full |
Check on whether the buffer is full. More... | |
def | rptr |
Get the buffer length. More... | |
def | advanceRptr |
Get the buffer length. More... | |
def | get |
Write data into the buffer. More... | |
def | read |
Readout data from the buffer. More... | |
def | readable |
Write data into the buffer. More... | |
def | empty |
Check on whether the buffer is empty. More... | |
![]() | |
def | length |
Get the buffer length. More... | |
def | reset |
Get the buffer length. More... | |
def | wptr |
Get the buffer length. More... | |
def | advanceWptr |
Get the buffer length. More... | |
def | put |
Write data into the buffer. More... | |
def | write |
Write data into the buffer. More... | |
def | writable |
Write data into the buffer. More... | |
def | full |
Check on whether the buffer is full. More... | |
def | rptr |
Get the buffer length. More... | |
def | advanceRptr |
Get the buffer length. More... | |
def | get |
Get data from the buffer. More... | |
def | read |
Read data from the buffer. More... | |
def | readable |
Write data into the buffer. More... | |
def | empty |
Check on whether the buffer is empty. More... | |
def OpenRTM_aist.RingBuffer.RingBuffer.__init__ | ( | self, | |
length = RINGBUFFER_DEFAULT_LENGTH |
|||
) |
Constructor.
Constructor. Initialize the buffer by specified buffer length. However, if the specified length is less than two, the buffer should be initialized by two in length.
length | Buffer length |
def OpenRTM_aist.RingBuffer.RingBuffer.advanceRptr | ( | self, | |
n = 1 |
|||
) |
Get the buffer length.
Pure virtual function to get the buffer length.
DataType* rptr(long int n = 0)
def OpenRTM_aist.RingBuffer.RingBuffer.advanceWptr | ( | self, | |
n = 1 |
|||
) |
Get the buffer length.
Pure virtual function to get the buffer length.
ReturnCode advanceWptr(long int n = 1)
def OpenRTM_aist.RingBuffer.RingBuffer.empty | ( | self | ) |
Check on whether the buffer is empty.
Pure virtual function to check on whether the buffer is empty.
bool empty(void) const
def OpenRTM_aist.RingBuffer.RingBuffer.full | ( | self | ) |
Check on whether the buffer is full.
Pure virtual function to check on whether the buffer is full.
bool full(void) const
def OpenRTM_aist.RingBuffer.RingBuffer.get | ( | self, | |
value = None |
|||
) |
Write data into the buffer.
Pure virtual function to write data into the buffer.
value | Target data to write. |
ReturnCode get(DataType& value)
def OpenRTM_aist.RingBuffer.RingBuffer.length | ( | self, | |
n = None |
|||
) |
Get the buffer length.
size_t length(void) const
def OpenRTM_aist.RingBuffer.RingBuffer.put | ( | self, | |
value | |||
) |
Write data into the buffer.
Pure virtual function to write data into the buffer.
def OpenRTM_aist.RingBuffer.RingBuffer.read | ( | self, | |
value, | |||
sec = -1 , |
|||
nsec = 0 |
|||
) |
Readout data from the buffer.
Readout data stored into the buffer.
value(list) | Readout data |
ReturnCode read(DataType& value, long int sec = -1, long int nsec = 0)
def OpenRTM_aist.RingBuffer.RingBuffer.readable | ( | self | ) |
Write data into the buffer.
Pure virtual function to write data into the buffer.
value | Target data to write. |
size_t readable() const
def OpenRTM_aist.RingBuffer.RingBuffer.reset | ( | self | ) |
Get the buffer length.
Pure virtual function to get the buffer length.
ReturnCode reset()
def OpenRTM_aist.RingBuffer.RingBuffer.rptr | ( | self, | |
n = 0 |
|||
) |
Get the buffer length.
Pure virtual function to get the buffer length.
def OpenRTM_aist.RingBuffer.RingBuffer.wptr | ( | self, | |
n = 0 |
|||
) |
Get the buffer length.
Pure virtual function to get the buffer length.
DataType* wptr(long int n = 0)
def OpenRTM_aist.RingBuffer.RingBuffer.writable | ( | self | ) |
Write data into the buffer.
Pure virtual function to write data into the buffer.
value | Target data to write. |
size_t writable() const
def OpenRTM_aist.RingBuffer.RingBuffer.write | ( | self, | |
value, | |||
sec = -1 , |
|||
nsec = 0 |
|||
) |
Write data into the buffer.
Write data which is given argument into the buffer.
value | Target data for writing |
ReturnCode write(const DataType& value, long int sec = -1, long int nsec = 0)