NASA Astrobee Robot Software  Astrobee Version:
Flight software for the Astrobee robots operating inside the International Space Station.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
flashlight::Flashlight Class Reference

#include <flashlight.h>

Public Member Functions

 Flashlight (i2c::Device const &dev)
 
bool Init (i2c::Error *ec)
 
bool SetBrightness (int brightness, i2c::Error *ec)
 
bool SetEnabled (bool enabled, i2c::Error *ec)
 
bool SetMode (Mode mode, i2c::Error *ec)
 
int brightness ()
 
bool enabled ()
 
Mode mode ()
 

Constructor & Destructor Documentation

◆ Flashlight()

flashlight::Flashlight::Flashlight ( i2c::Device const &  dev)
explicit

Member Function Documentation

◆ brightness()

int flashlight::Flashlight::brightness ( )
inline

◆ enabled()

bool flashlight::Flashlight::enabled ( )
inline

◆ Init()

bool flashlight::Flashlight::Init ( i2c::Error ec)

◆ mode()

Mode flashlight::Flashlight::mode ( )
inline

◆ SetBrightness()

bool flashlight::Flashlight::SetBrightness ( int  brightness,
i2c::Error ec 
)

◆ SetEnabled()

bool flashlight::Flashlight::SetEnabled ( bool  enabled,
i2c::Error ec 
)

◆ SetMode()

bool flashlight::Flashlight::SetMode ( Mode  mode,
i2c::Error ec 
)

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