Tesseract
Motion Planning Environment
|
Represents a joint trajectory. More...
#include <joint_state.h>
Public Types | |
using | value_type = JointState |
using | pointer = typename std::vector< value_type >::pointer |
using | const_pointer = typename std::vector< value_type >::const_pointer |
using | reference = typename std::vector< value_type >::reference |
using | const_reference = typename std::vector< value_type >::const_reference |
using | size_type = typename std::vector< value_type >::size_type |
using | difference_type = typename std::vector< value_type >::difference_type |
using | iterator = typename std::vector< value_type >::iterator |
using | const_iterator = typename std::vector< value_type >::const_iterator |
using | reverse_iterator = typename std::vector< value_type >::reverse_iterator |
using | const_reverse_iterator = typename std::vector< value_type >::const_reverse_iterator |
Public Member Functions | |
JointTrajectory (std::string description="") | |
JointTrajectory (std::vector< JointState > states, std::string description="") | |
bool | operator== (const JointTrajectory &other) const |
bool | operator!= (const JointTrajectory &rhs) const |
template<class InputIt > | |
JointTrajectory (InputIt first, InputIt last) | |
iterator | begin () |
returns an iterator to the beginning More... | |
const_iterator | begin () const |
returns an iterator to the beginning More... | |
iterator | end () |
returns an iterator to the end More... | |
const_iterator | end () const |
returns an iterator to the end More... | |
reverse_iterator | rbegin () |
returns a reverse iterator to the beginning More... | |
const_reverse_iterator | rbegin () const |
returns a reverse iterator to the beginning More... | |
reverse_iterator | rend () |
returns a reverse iterator to the end More... | |
const_reverse_iterator | rend () const |
returns a reverse iterator to the end More... | |
const_iterator | cbegin () const |
returns an iterator to the beginning More... | |
const_iterator | cend () const |
returns an iterator to the end More... | |
const_reverse_iterator | crbegin () const |
returns a reverse iterator to the beginning More... | |
const_reverse_iterator | crend () const |
returns a reverse iterator to the end More... | |
bool | empty () const |
checks whether the container is empty More... | |
size_type | size () const |
returns the number of elements More... | |
size_type | max_size () const |
returns the maximum possible number of elements More... | |
void | reserve (size_type n) |
reserve number of elements More... | |
size_type | capacity () const |
returns the number of elements that can be held in currently allocated storage More... | |
void | shrink_to_fit () |
reduces memory usage by freeing unused memory More... | |
reference | front () |
access the first element More... | |
const_reference | front () const |
access the first element More... | |
reference | back () |
access the last element More... | |
const_reference | back () const |
access the last element More... | |
reference | at (size_type n) |
access specified element with bounds checking More... | |
const_reference | at (size_type n) const |
access specified element with bounds checking More... | |
pointer | data () |
direct access to the underlying array More... | |
const_pointer | data () const |
direct access to the underlying array More... | |
reference | operator[] (size_type pos) |
access specified element More... | |
const_reference | operator[] (size_type pos) const |
access specified element More... | |
void | clear () |
clears the contents More... | |
iterator | insert (const_iterator p, const value_type &x) |
inserts element More... | |
iterator | insert (const_iterator p, value_type &&x) |
iterator | insert (const_iterator p, std::initializer_list< value_type > l) |
template<class InputIt > | |
void | insert (const_iterator pos, InputIt first, InputIt last) |
template<class... Args> | |
iterator | emplace (const_iterator pos, Args &&... args) |
constructs element in-place More... | |
iterator | erase (const_iterator p) |
erases element More... | |
iterator | erase (const_iterator first, const_iterator last) |
void | push_back (const value_type &x) |
adds an element to the end More... | |
void | push_back (const value_type &&x) |
template<typename... Args> | |
void | emplace_back (Args &&... args) |
constructs an element in-place at the end More... | |
void | pop_back () |
removes the last element More... | |
void | swap (std::vector< value_type > &other) |
swaps the contents More... | |
Public Attributes | |
std::vector< JointState > | states |
std::string | description |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Friends | |
class | boost::serialization::access |
Represents a joint trajectory.
using tesseract_common::JointTrajectory::const_iterator = typename std::vector<value_type>::const_iterator |
const_iterator
using tesseract_common::JointTrajectory::const_pointer = typename std::vector<value_type>::const_pointer |
const_pointer
using tesseract_common::JointTrajectory::const_reference = typename std::vector<value_type>::const_reference |
const_reference
using tesseract_common::JointTrajectory::const_reverse_iterator = typename std::vector<value_type>::const_reverse_iterator |
const_reverse_iterator
using tesseract_common::JointTrajectory::difference_type = typename std::vector<value_type>::difference_type |
difference_type
using tesseract_common::JointTrajectory::iterator = typename std::vector<value_type>::iterator |
iterator
using tesseract_common::JointTrajectory::pointer = typename std::vector<value_type>::pointer |
pointer
using tesseract_common::JointTrajectory::reference = typename std::vector<value_type>::reference |
reference
using tesseract_common::JointTrajectory::reverse_iterator = typename std::vector<value_type>::reverse_iterator |
reverse_iterator
using tesseract_common::JointTrajectory::size_type = typename std::vector<value_type>::size_type |
size_type
value_type
tesseract_common::JointTrajectory::JointTrajectory | ( | std::string | description = "" | ) |
tesseract_common::JointTrajectory::JointTrajectory | ( | std::vector< JointState > | states, |
std::string | description = "" |
||
) |
|
inline |
JointTrajectory::reference tesseract_common::JointTrajectory::at | ( | size_type | n | ) |
access specified element with bounds checking
JointTrajectory::const_reference tesseract_common::JointTrajectory::at | ( | size_type | n | ) | const |
access specified element with bounds checking
JointTrajectory::reference tesseract_common::JointTrajectory::back | ( | ) |
access the last element
JointTrajectory::const_reference tesseract_common::JointTrajectory::back | ( | ) | const |
access the last element
JointTrajectory::iterator tesseract_common::JointTrajectory::begin | ( | ) |
returns an iterator to the beginning
JointTrajectory::const_iterator tesseract_common::JointTrajectory::begin | ( | ) | const |
returns an iterator to the beginning
JointTrajectory::size_type tesseract_common::JointTrajectory::capacity | ( | ) | const |
returns the number of elements that can be held in currently allocated storage
JointTrajectory::const_iterator tesseract_common::JointTrajectory::cbegin | ( | ) | const |
returns an iterator to the beginning
JointTrajectory::const_iterator tesseract_common::JointTrajectory::cend | ( | ) | const |
returns an iterator to the end
void tesseract_common::JointTrajectory::clear | ( | ) |
clears the contents
JointTrajectory::const_reverse_iterator tesseract_common::JointTrajectory::crbegin | ( | ) | const |
returns a reverse iterator to the beginning
JointTrajectory::const_reverse_iterator tesseract_common::JointTrajectory::crend | ( | ) | const |
returns a reverse iterator to the end
JointTrajectory::pointer tesseract_common::JointTrajectory::data | ( | ) |
direct access to the underlying array
JointTrajectory::const_pointer tesseract_common::JointTrajectory::data | ( | ) | const |
direct access to the underlying array
JointTrajectory::iterator tesseract_common::JointTrajectory::emplace | ( | const_iterator | pos, |
Args &&... | args | ||
) |
constructs element in-place
void tesseract_common::JointTrajectory::emplace_back | ( | Args &&... | args | ) |
constructs an element in-place at the end
bool tesseract_common::JointTrajectory::empty | ( | ) | const |
checks whether the container is empty
JointTrajectory::iterator tesseract_common::JointTrajectory::end | ( | ) |
returns an iterator to the end
JointTrajectory::const_iterator tesseract_common::JointTrajectory::end | ( | ) | const |
returns an iterator to the end
JointTrajectory::iterator tesseract_common::JointTrajectory::erase | ( | const_iterator | first, |
const_iterator | last | ||
) |
JointTrajectory::iterator tesseract_common::JointTrajectory::erase | ( | const_iterator | p | ) |
erases element
JointTrajectory::reference tesseract_common::JointTrajectory::front | ( | ) |
access the first element
JointTrajectory::const_reference tesseract_common::JointTrajectory::front | ( | ) | const |
access the first element
JointTrajectory::iterator tesseract_common::JointTrajectory::insert | ( | const_iterator | p, |
const value_type & | x | ||
) |
inserts element
JointTrajectory::iterator tesseract_common::JointTrajectory::insert | ( | const_iterator | p, |
std::initializer_list< value_type > | l | ||
) |
JointTrajectory::iterator tesseract_common::JointTrajectory::insert | ( | const_iterator | p, |
value_type && | x | ||
) |
|
inline |
JointTrajectory::size_type tesseract_common::JointTrajectory::max_size | ( | ) | const |
returns the maximum possible number of elements
bool tesseract_common::JointTrajectory::operator!= | ( | const JointTrajectory & | rhs | ) | const |
bool tesseract_common::JointTrajectory::operator== | ( | const JointTrajectory & | other | ) | const |
JointTrajectory::reference tesseract_common::JointTrajectory::operator[] | ( | size_type | pos | ) |
access specified element
JointTrajectory::const_reference tesseract_common::JointTrajectory::operator[] | ( | size_type | pos | ) | const |
access specified element
void tesseract_common::JointTrajectory::pop_back | ( | ) |
removes the last element
void tesseract_common::JointTrajectory::push_back | ( | const value_type && | x | ) |
void tesseract_common::JointTrajectory::push_back | ( | const value_type & | x | ) |
adds an element to the end
JointTrajectory::reverse_iterator tesseract_common::JointTrajectory::rbegin | ( | ) |
returns a reverse iterator to the beginning
JointTrajectory::const_reverse_iterator tesseract_common::JointTrajectory::rbegin | ( | ) | const |
returns a reverse iterator to the beginning
JointTrajectory::reverse_iterator tesseract_common::JointTrajectory::rend | ( | ) |
returns a reverse iterator to the end
JointTrajectory::const_reverse_iterator tesseract_common::JointTrajectory::rend | ( | ) | const |
returns a reverse iterator to the end
void tesseract_common::JointTrajectory::reserve | ( | size_type | n | ) |
reserve number of elements
|
private |
void tesseract_common::JointTrajectory::shrink_to_fit | ( | ) |
reduces memory usage by freeing unused memory
JointTrajectory::size_type tesseract_common::JointTrajectory::size | ( | ) | const |
returns the number of elements
void tesseract_common::JointTrajectory::swap | ( | std::vector< value_type > & | other | ) |
swaps the contents
|
friend |
std::string tesseract_common::JointTrajectory::description |
std::vector<JointState> tesseract_common::JointTrajectory::states |