Public Member Functions | Private Attributes | List of all members
rokubimini::serial::RokubiminiSerialResponseRegexCommSetup Class Reference

#include <RokubiminiSerialCommunication.hpp>

Inheritance diagram for rokubimini::serial::RokubiminiSerialResponseRegexCommSetup:
Inheritance graph
[legend]

Public Member Functions

const uint8_t & getBaudRate ()
 
const uint8_t & getCalibration ()
 
const uint8_t & getDataFormat ()
 
const uint8_t & getTempComp ()
 
bool matchInString (const std::string &str) override
 
void setBaudRate (uint8_t &baudRate)
 
- Public Member Functions inherited from rokubimini::serial::RokubiminiSerialResponseRegex
 RokubiminiSerialResponseRegex ()=default
 
virtual ~RokubiminiSerialResponseRegex ()=default
 

Private Attributes

uint8_t baudRate_
 
uint8_t calibration_
 
uint8_t dataFormat_
 
const std::string format_ = "c,%c,%c,%c,%c"
 
const std::regex stringRegex_ = std::regex("\\bc(,\\d){4}\\b")
 
uint8_t tempComp_
 

Detailed Description

Definition at line 178 of file RokubiminiSerialCommunication.hpp.

Member Function Documentation

const uint8_t& rokubimini::serial::RokubiminiSerialResponseRegexCommSetup::getBaudRate ( )
inline

Definition at line 191 of file RokubiminiSerialCommunication.hpp.

const uint8_t& rokubimini::serial::RokubiminiSerialResponseRegexCommSetup::getCalibration ( )
inline

Definition at line 195 of file RokubiminiSerialCommunication.hpp.

const uint8_t& rokubimini::serial::RokubiminiSerialResponseRegexCommSetup::getDataFormat ( )
inline

Definition at line 187 of file RokubiminiSerialCommunication.hpp.

const uint8_t& rokubimini::serial::RokubiminiSerialResponseRegexCommSetup::getTempComp ( )
inline

Definition at line 183 of file RokubiminiSerialCommunication.hpp.

bool rokubimini::serial::RokubiminiSerialResponseRegexCommSetup::matchInString ( const std::string &  str)
overridevirtual
void rokubimini::serial::RokubiminiSerialResponseRegexCommSetup::setBaudRate ( uint8_t &  baudRate)
inline

Definition at line 199 of file RokubiminiSerialCommunication.hpp.

Member Data Documentation

uint8_t rokubimini::serial::RokubiminiSerialResponseRegexCommSetup::baudRate_
private

Definition at line 209 of file RokubiminiSerialCommunication.hpp.

uint8_t rokubimini::serial::RokubiminiSerialResponseRegexCommSetup::calibration_
private

Definition at line 210 of file RokubiminiSerialCommunication.hpp.

uint8_t rokubimini::serial::RokubiminiSerialResponseRegexCommSetup::dataFormat_
private

Definition at line 208 of file RokubiminiSerialCommunication.hpp.

const std::string rokubimini::serial::RokubiminiSerialResponseRegexCommSetup::format_ = "c,%c,%c,%c,%c"
private

Definition at line 206 of file RokubiminiSerialCommunication.hpp.

const std::regex rokubimini::serial::RokubiminiSerialResponseRegexCommSetup::stringRegex_ = std::regex("\\bc(,\\d){4}\\b")
private

Definition at line 205 of file RokubiminiSerialCommunication.hpp.

uint8_t rokubimini::serial::RokubiminiSerialResponseRegexCommSetup::tempComp_
private

Definition at line 207 of file RokubiminiSerialCommunication.hpp.


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


rokubimini_serial
Author(s):
autogenerated on Wed Mar 3 2021 03:09:18