blink1-lib  1.0.0
Blink1TestingLibrary.hpp File Reference

Provides functions to control a simulated blink(1) device for testing. More...

#include <exception>
#include <string>
#include <vector>
#include <map>
#include "RGB.hpp"
#include "PlayState.hpp"
#include "PatternLineN.hpp"
#include "blink1-lib.h"
Include dependency graph for Blink1TestingLibrary.hpp:

Go to the source code of this file.

Namespaces

 fake_blink1_lib
 Testing library namespace.
 

Functions

void fake_blink1_lib::CLEAR_ALL ()
 
bool fake_blink1_lib::ALL_DEVICES_FREED ()
 
void fake_blink1_lib::SET_BLINK1_VERSION (int version)
 
void fake_blink1_lib::SET_BLINK1_SUCCESSFUL_OPERATION (bool op)
 
void fake_blink1_lib::SET_BLINK1_SUCCESSFUL_INIT (bool init)
 
void fake_blink1_lib::SET_BLINK1_VID (int _vid)
 
void fake_blink1_lib::SET_BLINK1_PID (int _pid)
 
void fake_blink1_lib::SET_CACHE_INDEX (int index)
 
void fake_blink1_lib::SET_SERIAL (std::string serial)
 
void fake_blink1_lib::SET_IS_MK2 (bool mk2)
 
bool fake_blink1_lib::SUCCESS (blink1_device *dev)
 
blink1_lib::RGB fake_blink1_lib::GET_RGB (long n)
 
void fake_blink1_lib::SET_RGB (blink1_lib::RGB rgb, long n)
 
uint16_t fake_blink1_lib::GET_FADE_MILLIS (long n)
 
void fake_blink1_lib::SET_FADE_MILLIS (uint16_t fadeMillis, long n)
 
blink1_lib::PatternLineN fake_blink1_lib::GET_PATTERN_LINE (long pos)
 
void fake_blink1_lib::SET_PATTERN_LINE (blink1_lib::PatternLineN line, long pos)
 
blink1_lib::PlayState fake_blink1_lib::GET_PLAY_STATE ()
 
void fake_blink1_lib::SET_PLAY_STATE (blink1_lib::PlayState state)
 

Detailed Description

Provides functions to control a simulated blink(1) device for testing.