Main Page | Namespace List | Data Structures | File List | Data Fields | Globals

nemaWheels.h File Reference

Go to the source code of this file.

Variables

const char lamps []
 keyboard and lampboard
const int keybd []
 electric channel connections to keyboard letters
const int rwA []
 rotor wheel connections
const int rwB []
const int rwC []
const int rwD []
const int rwE []
const int rwF []
const int ukw []
 reflector
const int irwF []
 rotor wheel connections backwards
const int irwE []
const int irwD []
const int irwC []
const int irwB []
const int irwA []
const int nr1 []
 notch rings
const int nr12 []
const int nr13 []
const int nr14 []
const int nr15 []
const int nr17 []
const int nr18 []
const int nr22 []


Variable Documentation

const int irwA[]
 

Initial value:

 {21,  5, 20,  8,  0, 18, 24, 16, 13,  7, 19, 22,  4,
               1,  2, 10, 25,  9,  3, 17, 23,  6, 14, 12, 15, 11}

const int irwB[]
 

Initial value:

 { 9, 19, 18,  0, 23, 21,  1,  6,  3, 10,  7, 22, 14, 
              16,  5,  8, 20,  2, 12,  4, 17, 15, 24, 11, 13, 25}

const int irwC[]
 

Initial value:

 {25,  8, 14, 17, 13, 19,  7, 18, 12,  5,  9, 22, 21, 
               4,  6, 16,  1,  0,  2, 11, 15, 24, 23, 20, 10,  3}

const int irwD[]
 

Initial value:

 { 8, 19,  5, 13,  0, 16, 15,  7,  9, 17, 11,  2, 24, 
              12, 18,  6, 22,  4,  3, 20, 25,  1, 21, 23, 14, 10}

const int irwE[]
 

Initial value:

 {11,  5, 16,  9, 25,  0, 15, 14, 20, 19,  7, 21,  4, 
              23,  8, 24, 22, 10,  1, 17,  2, 13,  6,  3, 12, 18}

const int irwF[]
 

Initial value:

 {10, 16, 12,  1, 23,  2,  6,  5, 22, 15,  3, 25, 24, 
              19,  0, 11,  9, 18,  7, 13, 17, 14, 21,  8, 20,  4}
rotor wheel connections backwards

const int keybd[]
 

Initial value:

 {16, 3, 5, 14, 24, 13, 12, 11, 19, 10, 9, 8, 1,
               2, 18, 17, 0, 23, 15, 22, 20, 4, 25, 6, 7, 21}
electric channel connections to keyboard letters

const char lamps[]
 

Initial value:

 {'q', 'w', 'e', 'r', 't', 'z', 'u', 'i', 'o', 'p',
                'a', 's', 'd', 'f', 'g', 'h', 'j', 'k', 'l',
                'y', 'x', 'c', 'v', 'b', 'n', 'm'}
keyboard and lampboard

const int nr1[]
 

Initial value:

 {0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 
              0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1}
notch rings

const int nr12[]
 

Initial value:

 {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0,
              0, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1}

const int nr13[]
 

Initial value:

 {1, 1, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 
              1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0}

const int nr14[]
 

Initial value:

 {0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1,
              1, 1, 1, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1}

const int nr15[]
 

Initial value:

 {1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 1, 
              0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1}

const int nr17[]
 

Initial value:

 {0, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0,
              0, 0, 0, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0}

const int nr18[]
 

Initial value:

 {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
              0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1}

const int nr22[]
 

Initial value:

 {1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1,
              1, 0, 1, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0}

const int rwA[]
 

Initial value:

 { 4, 13, 14, 18, 12,  1, 21,  9,  3, 17, 15, 25, 23, 
              8, 22, 24,  7, 19,  5, 10,  2,  0, 11, 20,  6, 16}
rotor wheel connections

const int rwB[]
 

Initial value:

 { 3,  6, 17,  8, 19, 14,  7, 10, 15,  0,  9, 23, 18,
             24, 12, 21, 13, 20,  2,  1, 16,  5, 11,  4, 22, 25}

const int rwC[]
 

Initial value:

 {17, 16, 18, 25, 13,  9, 14,  6,  1, 10, 24, 19,  8, 
              4,  2, 20, 15,  3,  7,  5, 23, 12, 11, 22, 21,  0}

const int rwD[]
 

Initial value:

 { 4, 21, 11, 18, 17,  2, 15,  7,  0,  8, 25, 10, 13, 
              3, 24,  6,  5,  9, 14,  1, 19, 22, 16, 23, 12, 20}

const int rwE[]
 

Initial value:

 { 5, 18, 20, 23, 12,  1, 22, 10, 14,  3, 17,  0, 24,
             21,  7,  6,  2, 19, 25,  9,  8, 11, 16, 13, 15,  4}

const int rwF[]
 

Initial value:

 {14,  3,  5, 10, 25,  7,  6, 18, 23, 16,  0, 15,  2,
             19, 21,  9,  1, 20, 17, 13, 24, 22,  8,  4, 12, 11}

const int ukw[]
 

Initial value:

 {13, 11, 18, 17, 12, 21, 16, 20, 15, 10,  9,  1,  4,
              0, 19,  8,  6,  3,  2, 14,  7,  5, 24, 25, 22, 23}
reflector