Model Railroad System  2.2.1
Static Public Member Functions | Static Public Attributes | List of all members
lcc::OpenLCBProtocols Class Reference

Supported LCC Protocol name type. More...

Static Public Member Functions

static validate (object)
 Validate a protocol name. More...
 
static InsertProtocolBit (bits, protocol)
 Insert a protocol bit. More...
 
static GetProtocolNames (report)
 Return a list of protocol names. More...
 
static ProtocolLabelString (protocolname)
 Return a protocol label string. More...
 

Static Public Attributes

static protocolstrings
 Protocol display strings. More...
 
static bitstype
 Protocol payload type. More...
 

Detailed Description

Supported LCC Protocol name type.

Member Function Documentation

◆ GetProtocolNames()

static lcc::OpenLCBProtocols::GetProtocolNames ( report  )
static

Return a list of protocol names.

Parameters
reportProtocol bit vector.
Returns
A list of protocol names.

◆ InsertProtocolBit()

static lcc::OpenLCBProtocols::InsertProtocolBit ( bits  ,
protocol   
)
static

Insert a protocol bit.

Parameters
bitsProtocol bit vector.
protocolProtocol bit to insert.
Returns
An updated protocol bit vector.

◆ ProtocolLabelString()

static lcc::OpenLCBProtocols::ProtocolLabelString ( protocolname  )
static

Return a protocol label string.

Parameters
protocolnameThe protocol name.
Returns
A human readable protocol label string.

◆ validate()

static lcc::OpenLCBProtocols::validate ( object  )
static

Validate a protocol name.

Parameters
objectProtocol name to validate.

Member Data Documentation

◆ bitstype

lcc::OpenLCBProtocols::bitstype
static

Protocol payload type.

◆ protocolstrings

lcc::OpenLCBProtocols::protocolstrings
static

Protocol display strings.