Fang-Robotics-MCB
Fang Robotics Team Codebase
Loading...
Searching...
No Matches
tap::control::CommandScheduler::CommandIterator Struct Reference

#include <command_scheduler.hpp>

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 Member Functions

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

Friends

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

Detailed Description

Iterator used for looking through the commands added to the scheduler

Member Typedef Documentation

◆ difference_type

◆ iterator_category

◆ pointer

◆ reference

◆ value_type

Constructor & Destructor Documentation

◆ CommandIterator()

tap::control::CommandScheduler::CommandIterator::CommandIterator ( CommandScheduler scheduler,
int  i 
)

Member Function Documentation

◆ operator*()

CommandScheduler::CommandIterator::pointer tap::control::CommandScheduler::CommandIterator::operator* ( )

◆ operator++() [1/2]

CommandScheduler::CommandIterator & tap::control::CommandScheduler::CommandIterator::operator++ ( )

◆ operator++() [2/2]

CommandScheduler::CommandIterator tap::control::CommandScheduler::CommandIterator::operator++ ( int  )

Friends And Related Symbol Documentation

◆ operator!=

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

◆ operator==

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

The documentation for this struct was generated from the following files: