Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
dcc::ParameterizedLogonModule< Base >::LocoInfo Struct Reference

We store this structure about each locomotive. More...

#include <LogonModule.hxx>

Inheritance diagram for dcc::ParameterizedLogonModule< Base >::LocoInfo:

Public Attributes

uint8_t flags_ {0}
 State machine flags about this loco.
 
uint16_t assignedAddress_ {Defs::ADR_INVALID}
 The assigned DCC address.
 
uint64_t decoderId_
 44-bit decoder unique ID.
 

Detailed Description

template<class Base>
struct dcc::ParameterizedLogonModule< Base >::LocoInfo

We store this structure about each locomotive.

Definition at line 52 of file LogonModule.hxx.

Member Data Documentation

◆ assignedAddress_

template<class Base >
uint16_t dcc::ParameterizedLogonModule< Base >::LocoInfo::assignedAddress_ {Defs::ADR_INVALID}

The assigned DCC address.

The encoding is in the S-9.2.1.1 format. The default value is an invalid address causing an error on the locomotive.

Definition at line 60 of file LogonModule.hxx.

◆ decoderId_

template<class Base >
uint64_t dcc::ParameterizedLogonModule< Base >::LocoInfo::decoderId_

44-bit decoder unique ID.

Definition at line 63 of file LogonModule.hxx.

◆ flags_

template<class Base >
uint8_t dcc::ParameterizedLogonModule< Base >::LocoInfo::flags_ {0}

State machine flags about this loco.

Definition at line 55 of file LogonModule.hxx.


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