F´ Flight Software - C/C++ Documentation  devel
A framework for building embedded system applications to NASA flight quality standards.
Utils::RateLimiter Class Reference

#include <Utils/RateLimiter.hpp>

Public Member Functions

 RateLimiter (U32 counterCycle, U32 timeCycle)
 
 RateLimiter ()
 
void setCounterCycle (U32 counterCycle)
 
void setTimeCycle (U32 timeCycle)
 
bool trigger (Fw::Time time)
 
bool trigger ()
 
void reset ()
 
void resetCounter ()
 
void resetTime ()
 
void setCounter (U32)
 
void setTime (Fw::Time time)
 

Detailed Description

Definition at line 21 of file RateLimiter.hpp.

Constructor & Destructor Documentation

◆ RateLimiter() [1/2]

Utils::RateLimiter::RateLimiter ( U32  counterCycle,
U32  timeCycle 
)

Definition at line 16 of file RateLimiter.cpp.

◆ RateLimiter() [2/2]

Utils::RateLimiter::RateLimiter ( )

Definition at line 27 of file RateLimiter.cpp.

Member Function Documentation

◆ reset()

void Utils::RateLimiter::reset ( )

Definition at line 51 of file RateLimiter.cpp.

◆ resetCounter()

void Utils::RateLimiter::resetCounter ( )

Definition at line 58 of file RateLimiter.cpp.

◆ resetTime()

void Utils::RateLimiter::resetTime ( )

Definition at line 64 of file RateLimiter.cpp.

◆ setCounter()

void Utils::RateLimiter::setCounter ( U32  counter)

Definition at line 71 of file RateLimiter.cpp.

◆ setCounterCycle()

void Utils::RateLimiter::setCounterCycle ( U32  counterCycle)

Definition at line 35 of file RateLimiter.cpp.

◆ setTime()

void Utils::RateLimiter::setTime ( Fw::Time  time)

Definition at line 79 of file RateLimiter.cpp.

◆ setTimeCycle()

void Utils::RateLimiter::setTimeCycle ( U32  timeCycle)

Definition at line 43 of file RateLimiter.cpp.

◆ trigger() [1/2]

bool Utils::RateLimiter::trigger ( )

Definition at line 127 of file RateLimiter.cpp.

◆ trigger() [2/2]

bool Utils::RateLimiter::trigger ( Fw::Time  time)

Definition at line 88 of file RateLimiter.cpp.


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