Struct CommandScheduler::SubsystemIterator
Defined in File command_scheduler.hpp
Nested Relationships
This struct is a nested type of Class CommandScheduler.
Struct Documentation
-
struct SubsystemIterator
Iterator used for looking through the subsystems registered in the scheduler
Public Types
-
using iterator_category = std::forward_iterator_tag
-
using difference_type = std::ptrdiff_t
-
using value_type = Subsystem
-
using pointer = Subsystem*
-
using reference = Subsystem&
Public Functions
-
SubsystemIterator(CommandScheduler *scheduler, int i)
-
pointer operator*()
-
SubsystemIterator &operator++()
-
SubsystemIterator operator++(int)
Friends
-
friend bool operator==(const SubsystemIterator &a, const SubsystemIterator &b)
-
friend bool operator!=(const SubsystemIterator &a, const SubsystemIterator &b)
-
using iterator_category = std::forward_iterator_tag