My Project
Loading...
Searching...
No Matches
MTC4BTController Class Reference

#include <MTC4BTController.h>

Inheritance diagram for MTC4BTController:
Collaboration diagram for MTC4BTController:

Public Member Functions

 MTC4BTController ()
 
void Setup (MTC4BTConfiguration *config)
 
void SetupScanner ()
 
void Loop ()
 
bool HasLocomotive (uint address)
 
void HandleSys (const bool ebrake)
 
void HandleLc (int locoAddress, int speed, int minSpeed, int maxSpeed, char *mode, bool dirForward)
 
void HandleTrigger (int locoAddress, MCTriggerSource source, std::string eventType, std::string eventId, std::string value)
 
- Public Member Functions inherited from MController
 MController ()
 
void Setup (MCConfiguration *config)
 
void Loop ()
 
void setStatusLedInSetup (int powerPerc)
 
bool GetEmergencyBrake ()
 
void SetEmergencyBrake (const bool enabled)
 
void Execute (MCLocoAction *action)
 

Public Attributes

std::vector< BLELocomotive * > Locomotives
 

Additional Inherited Members

- Static Public Member Functions inherited from MController
static MCConnectionStatus GetConnectionStatus ()
 

Constructor & Destructor Documentation

◆ MTC4BTController()

MTC4BTController::MTC4BTController ( )

Member Function Documentation

◆ HandleLc()

void MTC4BTController::HandleLc ( int locoAddress,
int speed,
int minSpeed,
int maxSpeed,
char * mode,
bool dirForward )
Here is the call graph for this function:

◆ HandleSys()

void MTC4BTController::HandleSys ( const bool ebrake)
virtual

Implements MController.

Here is the call graph for this function:

◆ HandleTrigger()

void MTC4BTController::HandleTrigger ( int locoAddress,
MCTriggerSource source,
std::string eventType,
std::string eventId,
std::string value )
virtual

Implements MController.

Here is the call graph for this function:

◆ HasLocomotive()

bool MTC4BTController::HasLocomotive ( uint address)

◆ Loop()

void MTC4BTController::Loop ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Setup()

void MTC4BTController::Setup ( MTC4BTConfiguration * config)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetupScanner()

void MTC4BTController::SetupScanner ( )
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ Locomotives

std::vector<BLELocomotive *> MTC4BTController::Locomotives

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