Struct CommandScheduler::CommandIterator

Nested Relationships

This struct is a nested type of Class CommandScheduler.

Struct Documentation

struct CommandIterator

Iterator used for looking through the commands added to the scheduler

Public Types

using iterator_category = std::forward_iterator_tag
using difference_type = std::ptrdiff_t
using value_type = Command
using pointer = Command*
using reference = Command&

Public Functions

CommandIterator(CommandScheduler *scheduler, int i)
pointer operator*()
CommandIterator &operator++()
CommandIterator operator++(int)

Friends

friend bool operator==(const CommandIterator &a, const CommandIterator &b)
friend bool operator!=(const CommandIterator &a, const CommandIterator &b)