My Project
Loading...
Searching...
No Matches
MController Class Referenceabstract

#include <MController.h>

Inheritance diagram for MController:

Public Member Functions

 MController ()
 
void Setup (MCConfiguration *config)
 
void Loop ()
 
void setStatusLedInSetup (int powerPerc)
 
bool GetEmergencyBrake ()
 
void SetEmergencyBrake (const bool enabled)
 
void Execute (MCLocoAction *action)
 
virtual void HandleSys (const bool ebrake)=0
 
virtual void HandleTrigger (int locoAddress, MCTriggerSource source, std::string eventType, std::string eventId, std::string value)=0
 

Static Public Member Functions

static MCConnectionStatus GetConnectionStatus ()
 

Constructor & Destructor Documentation

◆ MController()

MController::MController ( )

Member Function Documentation

◆ Execute()

void MController::Execute ( MCLocoAction * action)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetConnectionStatus()

MCConnectionStatus MController::GetConnectionStatus ( )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetEmergencyBrake()

bool MController::GetEmergencyBrake ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ HandleSys()

virtual void MController::HandleSys ( const bool ebrake)
pure virtual

Implemented in MTC4BTController.

◆ HandleTrigger()

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

Implemented in MTC4BTController.

◆ Loop()

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

◆ SetEmergencyBrake()

void MController::SetEmergencyBrake ( const bool enabled)
Here is the caller graph for this function:

◆ setStatusLedInSetup()

void MController::setStatusLedInSetup ( int powerPerc)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Setup()

void MController::Setup ( MCConfiguration * config)
Here is the caller graph for this function:

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