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

#include <RokubiminiSerialCommunication.hpp>

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

Public Member Functions

bool formatCommand (std::string &formattedString) override
 
 RokubiminiSerialCommandCommSetup ()=delete
 
 RokubiminiSerialCommandCommSetup (const configuration::SensorConfiguration &sensorConfiguration, const uint8_t &dataFormat, const uint8_t &baudRate)
 
- Public Member Functions inherited from rokubimini::serial::RokubiminiSerialCommand
 RokubiminiSerialCommand ()=default
 
virtual ~RokubiminiSerialCommand ()=default
 

Private Attributes

uint8_t baudRate_
 
uint8_t dataFormat_
 
const std::string formatString_ = "c,%u,%u,%u,%u"
 
configuration::SensorConfiguration sensorConfiguration_
 

Detailed Description

Definition at line 31 of file RokubiminiSerialCommunication.hpp.

Constructor & Destructor Documentation

rokubimini::serial::RokubiminiSerialCommandCommSetup::RokubiminiSerialCommandCommSetup ( )
delete
rokubimini::serial::RokubiminiSerialCommandCommSetup::RokubiminiSerialCommandCommSetup ( const configuration::SensorConfiguration sensorConfiguration,
const uint8_t &  dataFormat,
const uint8_t &  baudRate 
)

Definition at line 9 of file RokubiminiSerialCommunication.cpp.

Member Function Documentation

bool rokubimini::serial::RokubiminiSerialCommandCommSetup::formatCommand ( std::string &  formattedString)
overridevirtual

Member Data Documentation

uint8_t rokubimini::serial::RokubiminiSerialCommandCommSetup::baudRate_
private

Definition at line 44 of file RokubiminiSerialCommunication.hpp.

uint8_t rokubimini::serial::RokubiminiSerialCommandCommSetup::dataFormat_
private

Definition at line 43 of file RokubiminiSerialCommunication.hpp.

const std::string rokubimini::serial::RokubiminiSerialCommandCommSetup::formatString_ = "c,%u,%u,%u,%u"
private

Definition at line 41 of file RokubiminiSerialCommunication.hpp.

configuration::SensorConfiguration rokubimini::serial::RokubiminiSerialCommandCommSetup::sensorConfiguration_
private

Definition at line 42 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