
#include <Robots/LoBot/control/LoTurnArbiter.H>

Public Types | |
| typedef std::bidirectional_iterator_tag | iterator_category |
| Typedefs for STL compatibility. | |
| typedef Vote::VoteMap::mapped_type | value_type |
| typedef int | difference_type |
| typedef value_type * | pointer |
| typedef value_type & | reference |
Public Member Functions | |
| iterator (const iterator &) | |
| iterator & | operator= (const iterator &) |
| reference | operator* () |
| Item access. | |
| const reference | operator* () const |
| pointer | operator-> () |
| const pointer | operator-> () const |
| iterator & | operator++ () |
| Prefix increment. | |
| const iterator & | operator++ () const |
| iterator | operator++ (int) |
| Postfix increment. | |
| const iterator | operator++ (int) const |
| iterator & | operator-- () |
| Prefix decrement. | |
| const iterator & | operator-- () const |
| iterator | operator-- (int) |
| Postfix decrement. | |
| const iterator | operator-- (int) const |
| operator bool () const | |
| Relational operators. | |
| bool | operator== (const iterator &it) const |
| bool | operator!= (const iterator &it) const |
| const Vote::VoteMap::key_type & | direction () const |
| Additional functions for Vote object iterators. | |
| const Vote::VoteMap::mapped_type & | value () const |
|
| |
| class | Vote |
An iterator interface for filling out votes for all the directions.
Definition at line 150 of file LoTurnArbiter.H.
| typedef std::bidirectional_iterator_tag lobot::TurnArbiter::Vote::iterator::iterator_category |
Typedefs for STL compatibility.
Definition at line 177 of file LoTurnArbiter.H.
| lobot::TurnArbiter::Vote::iterator::iterator | ( | const iterator & | it | ) |
Copy, assignment and clean-up for turn arbiter vote object iterators.
Definition at line 222 of file LoTurnArbiter.C.
| const Vote::VoteMap::key_type& lobot::TurnArbiter::Vote::iterator::direction | ( | ) | const [inline] |
Additional functions for Vote object iterators.
Definition at line 247 of file LoTurnArbiter.H.
| lobot::TurnArbiter::Vote::iterator::operator bool | ( | ) | const [inline] |
Relational operators.
Definition at line 234 of file LoTurnArbiter.H.
| reference lobot::TurnArbiter::Vote::iterator::operator* | ( | ) | [inline] |
Item access.
Definition at line 186 of file LoTurnArbiter.H.
| iterator lobot::TurnArbiter::Vote::iterator::operator++ | ( | int | ) | [inline] |
Postfix increment.
Definition at line 200 of file LoTurnArbiter.H.
| iterator& lobot::TurnArbiter::Vote::iterator::operator++ | ( | ) | [inline] |
Prefix increment.
Definition at line 194 of file LoTurnArbiter.H.
| iterator lobot::TurnArbiter::Vote::iterator::operator-- | ( | int | ) | [inline] |
Postfix decrement.
Definition at line 220 of file LoTurnArbiter.H.
| iterator& lobot::TurnArbiter::Vote::iterator::operator-- | ( | ) | [inline] |
Prefix decrement.
Definition at line 214 of file LoTurnArbiter.H.
1.6.3