Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
BS::sequence_task< T, F, R > Struct Template Reference

A function object class used by detach_sequence() and submit_sequence() to execute a sequence function over a specified index. More...

#include <BS_thread_pool.hpp>

Public Member Functions

operator() ()
 

Public Attributes

std::shared_ptr< std::decay_t< F > > sequence_ptr
 
i
 

Detailed Description

template<typename T, typename F, typename R>
struct BS::sequence_task< T, F, R >

A function object class used by detach_sequence() and submit_sequence() to execute a sequence function over a specified index.

Template Parameters
TThe type of the index.
FThe type of the function.
RThe return type of the function (can be void).

Member Function Documentation

◆ operator()()

template<typename T , typename F , typename R >
R BS::sequence_task< T, F, R >::operator() ( )
inline
714 {
715 return (*sequence_ptr)(i);
716 }

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