Struct CommandScheduler::CommandIterator
Defined in File command_scheduler.hpp
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)
-
using iterator_category = std::forward_iterator_tag