Open Lighting Architecture  Latest Git
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
ola::plugin::spi::FakeSPIWriter Class Reference

Detailed Description

A Fake SPI Writer used for testing

Inheritance diagram for ola::plugin::spi::FakeSPIWriter:
Inheritance graph
Collaboration diagram for ola::plugin::spi::FakeSPIWriter:
Collaboration graph

Public Member Functions

 FakeSPIWriter (const std::string &device_path)
bool Init ()
std::string DevicePath () const
bool WriteSPIData (const uint8_t *data, unsigned int length)
void BlockWriter ()
void UnblockWriter ()
void ResetWrite ()
void WaitForWrite ()
unsigned int WriteCount () const
unsigned int LastWriteSize () const
void CheckDataMatches (const ola::testing::SourceLine &source_line, const uint8_t *data, unsigned int length)

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