#include <BLELocomotive.h>
◆ BLELocomotive()
◆ AllHubsConnected()
bool BLELocomotive::AllHubsConnected |
( |
| ) |
|
◆ BlinkLights()
void BLELocomotive::BlinkLights |
( |
int | durationInMs | ) |
|
◆ Drive()
void BLELocomotive::Drive |
( |
const int16_t | minSpeed, |
|
|
const int16_t | pwrPerc ) |
◆ GetHub()
BLEHub * BLELocomotive::GetHub |
( |
uint | index | ) |
|
◆ GetHubCount()
uint BLELocomotive::GetHubCount |
( |
| ) |
|
◆ GetLocoAddress()
uint BLELocomotive::GetLocoAddress |
( |
| ) |
|
◆ GetLocoName()
std::string BLELocomotive::GetLocoName |
( |
| ) |
|
◆ SetEmergencyBrake()
void BLELocomotive::SetEmergencyBrake |
( |
const bool | enabled | ) |
|
◆ SetHubLedColor()
void BLELocomotive::SetHubLedColor |
( |
HubLedColor | color | ) |
|
◆ TriggerEvent()
void BLELocomotive::TriggerEvent |
( |
MCTriggerSource | source, |
|
|
std::string | eventType, |
|
|
std::string | eventId, |
|
|
std::string | value ) |
◆ Hubs
std::vector<BLEHub *> BLELocomotive::Hubs |
The documentation for this class was generated from the following files:
- /home/hilbert/src/MattzoStuff/MattzoControllers/src/MTC4BT/include/BLELocomotive.h
- /home/hilbert/src/MattzoStuff/MattzoControllers/src/MTC4BT/src/BLELocomotive.cpp