16#include <unordered_map>
19#include "gpio_datagram.h"
Definition: gpio_datagram.h:36
Class that manages receiving and transmitting Gpio commands and JSON logging.
Definition: gpio_manager.h:36
std::string processGpioPinMode(std::string &payload)
Process a get Gpio Pin mode command given the data payload.
Definition: gpio_manager.cc:90
std::string processGpioAllAltFunctions()
Process a get all Gpio Pin alternate functions command.
Definition: gpio_manager.cc:150
std::string processGpioAllModes()
Process a get all Gpio Pin modes command.
Definition: gpio_manager.cc:102
std::string processGpioAllStates()
Process a get all Gpio Pin states command.
Definition: gpio_manager.cc:58
Datagram::Gpio m_gpioDatagram
Definition: gpio_manager.h:38
std::string processGpioPinAltFunction(std::string &payload)
Process a get Gpio Pin alternate function command given the data payload.
Definition: gpio_manager.cc:138
GpioManager()=default
Constructs a GpioManager object.
void setGpioAllStates(std::string &payload)
Sets all Gpio Pin state given the data payload.
Definition: gpio_manager.cc:35
void setGpioPinState(std::string &payload)
Sets a Gpio Pin state given the data payload.
Definition: gpio_manager.cc:26
std::string processGpioPinState(std::string &payload)
Process a get Gpio Pin state command given the data payload.
Definition: gpio_manager.cc:46