LCC Fusion Project 1.0
LCC Automation
Loading...
Searching...
No Matches
Mast Class Reference

Consumer object for a signal mast. More...

#include <SignalMast.h>

Inherits ConfigUpdateListener, and openlcb::SimpleEventHandler.

Collaboration diagram for Mast:

Public Types

enum  MastProcessing
 possible mast processing selections
 

Public Member Functions

 Mast (openlcb::Node *n, const MastConfig &cfg, Mast *previous, PWM *const *pins, const uint8_t size, const uint8_t cardNum)
 mast constructor
 
virtual void factory_reset (int fd)
 process resetting CDI to factory settings
 
void handle_identify_global (const openlcb::EventRegistryEntry &registry_entry, openlcb::EventReport *event, BarrierNotifiable *done) override
 handle global identification request
 
void handle_identify_producer (const openlcb::EventRegistryEntry &registry_entry, openlcb::EventReport *event, BarrierNotifiable *done) override
 handle identify producer request
 
void ClearCurrentRule (BarrierNotifiable *done)
 clears current rule
 
void SetCurrentRuleAndSpeed (Rule *r, TrackCircuit::TrackSpeed s, BarrierNotifiable *done)
 sets current rule and speed
 
const std::string Mastid () const
 

Detailed Description

Consumer object for a signal mast.

Definition at line 90 of file SignalMast.h.

Member Function Documentation

◆ Mastid()

const std::string Mast::Mastid ( ) const
inline
Returns
current mast id as a string

Definition at line 144 of file SignalMast.h.


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