#include "threading.py"
#include "OpenRTM.py"
Classes | |
class | ScopedLock |
class | LockedStruct |
class | SequenceEx |
Functions | |
for_each (seq, f) | |
Apply the functor to all CORBA sequence elements. | |
find (seq, f) | |
Return the index of CORBA sequence element that functor matches. | |
push_back (seq, elem) | |
Push the new element back to the CORBA sequence. | |
insert (seq, elem, index) | |
Insert the element to the CORBA sequence. | |
front (seq) | |
Get the front element of the CORBA sequence. | |
back (seq) | |
Get the last element of the CORBA sequence. | |
erase (seq, index) | |
Erase the element of the specified index. | |
clear (seq) | |
Erase all the elements of the CORBA sequence. |
|
Get the last element of the CORBA sequence. This operation returns seq[seq.length() - 1].
|
|
Erase all the elements of the CORBA sequence. same as seq.length(0). |
|
Erase the element of the specified index. This operation removes the element of the given index. The other elements are closed up around the hole.
|
|
Return the index of CORBA sequence element that functor matches. This operation applies the given functor to the given CORBA sequence, and returns the index of the sequence element that the functor matches. The functor should be bool functor(const CORBA sequence element) type, and it would return true, if the element matched the functor.
|
|
Apply the functor to all CORBA sequence elements. Apply the given functor to the given CORBA sequence. functor should be void functor(CORBA sequence element).
|
|
Get the front element of the CORBA sequence. This operation returns seq[0].
|
|
Insert the element to the CORBA sequence. Insert a new element in the given position to the CORBA sequence. If the given index is greater than the length of the sequence, the given element is pushed back to the last of the sequence. The length of the CORBA sequence will be expanded automatically.
|
|
Push the new element back to the CORBA sequence. Add the given element to the last of CORBA sequence. The length of the CORBA sequence will be expanded automatically.
|