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

#include <RokubiminiSerialCommunication.hpp>

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

Public Member Functions

const std::string & getCommand ()
 
const uint8_t & getFirstNumber ()
 
const uint8_t & getReturnCode ()
 
bool matchInString (const std::string &str) override
 
- Public Member Functions inherited from rokubimini::serial::RokubiminiSerialResponseRegex
 RokubiminiSerialResponseRegex ()=default
 
virtual ~RokubiminiSerialResponseRegex ()=default
 

Private Attributes

std::string command_
 
uint8_t firstNumber_
 
const std::string format_ = "r,%c,%c,%c"
 
std::uint8_t returnCode_
 
const std::regex stringRegex_ = std::regex("\\br,\\d,\\w,\\d\\b")
 

Detailed Description

Definition at line 244 of file RokubiminiSerialCommunication.hpp.

Member Function Documentation

const std::string& rokubimini::serial::RokubiminiSerialResponseRegexAck::getCommand ( )
inline

Definition at line 253 of file RokubiminiSerialCommunication.hpp.

const uint8_t& rokubimini::serial::RokubiminiSerialResponseRegexAck::getFirstNumber ( )
inline

Definition at line 249 of file RokubiminiSerialCommunication.hpp.

const uint8_t& rokubimini::serial::RokubiminiSerialResponseRegexAck::getReturnCode ( )
inline

Definition at line 257 of file RokubiminiSerialCommunication.hpp.

bool rokubimini::serial::RokubiminiSerialResponseRegexAck::matchInString ( const std::string &  str)
overridevirtual

Member Data Documentation

std::string rokubimini::serial::RokubiminiSerialResponseRegexAck::command_
private

Definition at line 266 of file RokubiminiSerialCommunication.hpp.

uint8_t rokubimini::serial::RokubiminiSerialResponseRegexAck::firstNumber_
private

Definition at line 265 of file RokubiminiSerialCommunication.hpp.

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

Definition at line 264 of file RokubiminiSerialCommunication.hpp.

std::uint8_t rokubimini::serial::RokubiminiSerialResponseRegexAck::returnCode_
private

Definition at line 267 of file RokubiminiSerialCommunication.hpp.

const std::regex rokubimini::serial::RokubiminiSerialResponseRegexAck::stringRegex_ = std::regex("\\br,\\d,\\w,\\d\\b")
private

Definition at line 263 of file RokubiminiSerialCommunication.hpp.


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


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