tilt_scan
Public Types | Public Member Functions | Public Attributes | List of all members
tilt_scan::SweepStatus Struct Reference

#include <tilt_scanTypes.hpp>

Public Types

enum  State {
  NOT_SWEEPING, INITIALIZING, REACHED_UP_POSITION, SWEEPING_UP,
  SWEEPING_DOWN
}
 

Public Member Functions

 SweepStatus ()
 
bool isNextSweep (SweepStatus lastState)
 

Public Attributes

uint8_t counter
 counter of the sweeps, wraps at 255 More...
 
State curState
 current state of sweeping More...
 
std::string sourceName
 name of the sweeping device More...
 

Member Enumeration Documentation

Enumerator
NOT_SWEEPING 
INITIALIZING 
REACHED_UP_POSITION 
SWEEPING_UP 
SWEEPING_DOWN 

Constructor & Destructor Documentation

tilt_scan::SweepStatus::SweepStatus ( )
inline

Member Function Documentation

bool tilt_scan::SweepStatus::isNextSweep ( SweepStatus  lastState)
inline

Return true if one ore more sweeps in respect to the given state werde done.

Also returns true, if not sweeping at all.

Member Data Documentation

uint8_t tilt_scan::SweepStatus::counter

counter of the sweeps, wraps at 255

State tilt_scan::SweepStatus::curState

current state of sweeping

std::string tilt_scan::SweepStatus::sourceName

name of the sweeping device


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