DCC-EX Simple Throttle
Simple throttle for a DCC-EX CommandStation
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
LocoBroadcast Struct Reference

Structure for data from a Loco broadcast. More...

#include <EventStructure.h>

Public Member Functions

 LocoBroadcast (int address, int speed, Direction direction, int functionMap)
 Constructor for LocoBroadcast data.
 

Public Attributes

int address
 
int speed
 
Direction direction
 
int functionMap
 

Detailed Description

Structure for data from a Loco broadcast.

Constructor & Destructor Documentation

◆ LocoBroadcast()

LocoBroadcast::LocoBroadcast ( int  address,
int  speed,
Direction  direction,
int  functionMap 
)
inline

Constructor for LocoBroadcast data.

Parameters
addressDCC address of the loco
speedSpeed of the loco
directionDirection of the loco
functionMapFunction map of functions states of the loco

Member Data Documentation

◆ address

int LocoBroadcast::address

◆ direction

Direction LocoBroadcast::direction

◆ functionMap

int LocoBroadcast::functionMap

◆ speed

int LocoBroadcast::speed

The documentation for this struct was generated from the following file: