hpp::model::ObjectIterator Class Reference

Iterator over all inner objects of a Device. More...

#include <hpp/model/object-iterator.hh>

Public Member Functions

 ObjectIterator (Device &device, Request_t type)
 
const CollisionObjectPtr_toperator* ()
 
bool operator== (const ObjectIterator &other) const
 
bool operator!= (const ObjectIterator &other) const
 
void operator++ ()
 
void setToEnd ()
 
bool isEnd () const
 

Detailed Description

Iterator over all inner objects of a Device.

Constructor & Destructor Documentation

◆ ObjectIterator()

hpp::model::ObjectIterator::ObjectIterator ( Device device,
Request_t  type 
)

Member Function Documentation

◆ isEnd()

bool hpp::model::ObjectIterator::isEnd ( ) const

◆ operator!=()

bool hpp::model::ObjectIterator::operator!= ( const ObjectIterator other) const

◆ operator*()

const CollisionObjectPtr_t& hpp::model::ObjectIterator::operator* ( )

◆ operator++()

void hpp::model::ObjectIterator::operator++ ( )

◆ operator==()

bool hpp::model::ObjectIterator::operator== ( const ObjectIterator other) const

◆ setToEnd()

void hpp::model::ObjectIterator::setToEnd ( )