Tesseract 0.28.4
Loading...
Searching...
No Matches
tesseract::common::JointTrajectory Class Reference

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
const_iterator begin () const
 returns an iterator to the beginning
iterator end ()
 returns an iterator to the end
const_iterator end () const
 returns an iterator to the end
reverse_iterator rbegin ()
 returns a reverse iterator to the beginning
const_reverse_iterator rbegin () const
 returns a reverse iterator to the beginning
reverse_iterator rend ()
 returns a reverse iterator to the end
const_reverse_iterator rend () const
 returns a reverse iterator to the end
const_iterator cbegin () const
 returns an iterator to the beginning
const_iterator cend () const
 returns an iterator to the end
const_reverse_iterator crbegin () const
 returns a reverse iterator to the beginning
const_reverse_iterator crend () const
 returns a reverse iterator to the end
bool empty () const
 checks whether the container is empty
size_type size () const
 returns the number of elements
size_type max_size () const
 returns the maximum possible number of elements
void reserve (size_type n)
 reserve number of elements
size_type capacity () const
 returns the number of elements that can be held in currently allocated storage
void shrink_to_fit ()
 reduces memory usage by freeing unused memory
reference front ()
 access the first element
const_reference front () const
 access the first element
reference back ()
 access the last element
const_reference back () const
 access the last element
reference at (size_type n)
 access specified element with bounds checking
const_reference at (size_type n) const
 access specified element with bounds checking
pointer data ()
 direct access to the underlying array
const_pointer data () const
 direct access to the underlying array
reference operator[] (size_type pos)
 access specified element
const_reference operator[] (size_type pos) const
 access specified element
void clear ()
 clears the contents
iterator insert (const_iterator p, const value_type &x)
 inserts element
iterator insert (const_iterator p, value_type &&x)
iterator insert (const_iterator p, std::initializer_list< value_type > init_list)
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
iterator erase (const_iterator p)
 erases element
iterator erase (const_iterator first, const_iterator last)
void push_back (const value_type &x)
 adds an element to the end
void push_back (const value_type &&x)
template<typename... Args>
void emplace_back (Args &&... args)
 constructs an element in-place at the end
void pop_back ()
 removes the last element
void swap (std::vector< value_type > &other) noexcept
 swaps the contents

Public Attributes

boost::uuids::uuid uuid {}
std::vector< JointState > states
std::string description

Detailed Description

Represents a joint trajectory.

Member Typedef Documentation

◆ value_type

◆ pointer

using tesseract::common::JointTrajectory::pointer = typename std::vector<value_type>::pointer

pointer

◆ const_pointer

using tesseract::common::JointTrajectory::const_pointer = typename std::vector<value_type>::const_pointer

◆ reference

using tesseract::common::JointTrajectory::reference = typename std::vector<value_type>::reference

reference

◆ const_reference

using tesseract::common::JointTrajectory::const_reference = typename std::vector<value_type>::const_reference

◆ size_type

using tesseract::common::JointTrajectory::size_type = typename std::vector<value_type>::size_type

◆ difference_type

using tesseract::common::JointTrajectory::difference_type = typename std::vector<value_type>::difference_type

◆ iterator

using tesseract::common::JointTrajectory::iterator = typename std::vector<value_type>::iterator

iterator

◆ const_iterator

using tesseract::common::JointTrajectory::const_iterator = typename std::vector<value_type>::const_iterator

◆ reverse_iterator

using tesseract::common::JointTrajectory::reverse_iterator = typename std::vector<value_type>::reverse_iterator

◆ const_reverse_iterator