working on item rewrite
This commit is contained in:
43
FlippR-Driver/src/output/items/detail/DriverBoardItem.h
Normal file
43
FlippR-Driver/src/output/items/detail/DriverBoardItem.h
Normal file
@@ -0,0 +1,43 @@
|
||||
//
|
||||
// Created by rhetenor on 5/6/19.
|
||||
//
|
||||
|
||||
#ifndef FLIPPR_DRIVER_DRIVERBOARDITEM_H
|
||||
#define FLIPPR_DRIVER_DRIVERBOARDITEM_H
|
||||
|
||||
#include "output/items/DriverBoardItem.h"
|
||||
|
||||
#include "output/OutputPinController.h"
|
||||
|
||||
#include <memory>
|
||||
namespace flippR_driver
|
||||
{
|
||||
namespace output
|
||||
{
|
||||
namespace items
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
|
||||
class DriverBoardItem : public output::items::DriverBoardItem
|
||||
{
|
||||
public:
|
||||
DriverBoardItem(std::shared_ptr<OutputPinController> pin_controller, const uint8_t address);
|
||||
|
||||
~DriverBoardItem() override = default;
|
||||
|
||||
uint8_t get_address() const override;
|
||||
|
||||
protected:
|
||||
const uint8_t address;
|
||||
|
||||
const std::shared_ptr<OutputPinController> pin_controller;
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif //FLIPPR_DRIVER_DRIVERBOARDITEM_H
|
||||
Reference in New Issue
Block a user