|
WSF
|
#include "FieldAccessorTypes.hpp"#include "FieldTypes.hpp"#include "MessageSizeChecker.hpp"#include "Messages.hpp"#include "UtMemory.hpp"#include "MessageDefines_Details.hpp"

Go to the source code of this file.
Namespaces | |
| namespace | WsfL16 |
| This file should be included prior to defining a message. Currently there is a limit of 32 fields per message. | |
| namespace | WsfL16::Messages |
Macros | |
| #define | DEFINE_VIRTUAL_TRANSERS__() |
| Define a virtual TransferI() for each message. | |
| #define | DEFINE_INITIAL(_LABEL_, _SUB_LABEL_) |
| This should be used at the top of the public: section of each Initial message. | |
| #define | DEFINE_EXTENSION(_LABEL_, _SUB_LABEL_, _EXT_NUM_) |
| This should be used at the top of the public: section of each Extension message. | |
| #define | DEFINE_CONTINUATION(_LABEL_, _SUB_LABEL_, _CONT_NUM_) |
| This should be used at the top of the public: section of each Continuation message. | |
| #define | DEFINE_CONT_CASE__(NUM) |
| MessageDefines_Details.hpp contains code generated using a script: MessageDefines_Generate.py. | |
| #define | DEFINE_CONT_CASE2__(N1, N2) |
| #define | DEFINE_CONT_CASE4__(N1, N2, N3, N4) |
| #define | DEFINE_CONT_CASE8__(N1, N2, N3, N4, N5, N6, N7, N8) |
| #define | DEFINE_CONT_DEFS(NUM) |
| #define | DEFINE_CONT_DEFS2(N1, N2) |
| #define | DEFINE_CONT_DEFS3(N1, N2, N3) |
| #define | DEFINE_CONT_DEFS4(N1, N2, N3, N4) |
| #define | DEFINE_CONT_DEFS8(N1, N2, N3, N4, N5, N6, N7, N8) |
| #define | DEFINE_CONTINUATIONS12(N1, N2, N3, N4, N5, N6, N7, N8, N9, N10, N11, N12) |
| #define | DEFINE_CONTINUATIONS11(N1, N2, N3, N4, N5, N6, N7, N8, N9, N10, N11) |
| #define | DEFINE_CONTINUATIONS10(N1, N2, N3, N4, N5, N6, N7, N8, N9, N10) |
| #define | DEFINE_CONTINUATIONS9(N1, N2, N3, N4, N5, N6, N7, N8, N9) |
| #define | DEFINE_CONTINUATIONS8(N1, N2, N3, N4, N5, N6, N7, N8) |
| #define | DEFINE_CONTINUATIONS7(N1, N2, N3, N4, N5, N6, N7) |
| #define | DEFINE_CONTINUATIONS6(N1, N2, N3, N4, N5, N6) |
| #define | DEFINE_CONTINUATIONS5(N1, N2, N3, N4, N5) |
| #define | DEFINE_CONTINUATIONS4(N1, N2, N3, N4) |
| #define | DEFINE_CONTINUATIONS3(N1, N2, N3) |
| #define | DEFINE_CONTINUATIONS2(N1, N2) |
| #define | DEFINE_CONTINUATIONS1(N1) |
| #define | DEFINE_CONTINUATIONS0() |
| #define | DEFINE_EXTENSIONS0() |
| #define | DEFINE_EXTENSIONS1() |
| #define | DEFINE_EXTENSIONS2() |
| #define | DEFINE_EXTENSIONS3() |
Functions | |
| template<typename INIT_TYPE, typename SUB_WORD> | |
| bool | WsfL16::Messages::FindWordT (INIT_TYPE &aInitialWord, SUB_WORD *&aSubWord) |
| #define DEFINE_CONT_CASE2__ | ( | N1, | |
| N2 ) |
| #define DEFINE_CONT_CASE4__ | ( | N1, | |
| N2, | |||
| N3, | |||
| N4 ) |
| #define DEFINE_CONT_CASE8__ | ( | N1, | |
| N2, | |||
| N3, | |||
| N4, | |||
| N5, | |||
| N6, | |||
| N7, | |||
| N8 ) |
| #define DEFINE_CONT_CASE__ | ( | NUM | ) |
MessageDefines_Details.hpp contains code generated using a script: MessageDefines_Generate.py.
A DEFINE_MEMBERS() macro should be used in each message type. Look at any message type for an example of how to use. This will define how the message reads and writes data, and check the message size to ensure it is 70 bits. !! You will get a compiler error if the message isn't 70 bits !!
The following #define's make type - specific functions for getting the continuation and extension words in a message.
| #define DEFINE_CONT_DEFS | ( | NUM | ) |
| #define DEFINE_CONT_DEFS2 | ( | N1, | |
| N2 ) |
| #define DEFINE_CONT_DEFS3 | ( | N1, | |
| N2, | |||
| N3 ) |
| #define DEFINE_CONT_DEFS4 | ( | N1, | |
| N2, | |||
| N3, | |||
| N4 ) |
| #define DEFINE_CONT_DEFS8 | ( | N1, | |
| N2, | |||
| N3, | |||
| N4, | |||
| N5, | |||
| N6, | |||
| N7, | |||
| N8 ) |
| #define DEFINE_CONTINUATION | ( | _LABEL_, | |
| _SUB_LABEL_, | |||
| _CONT_NUM_ ) |
This should be used at the top of the public: section of each Continuation message.
| #define DEFINE_CONTINUATIONS0 | ( | ) |
Referenced by WsfL16::Messages::J9_1::Initial::DEFINE_MEMBERS9().
| #define DEFINE_CONTINUATIONS1 | ( | N1 | ) |
Referenced by WsfL16::Messages::J7_1::Initial::DEFINE_MEMBERS17().
| #define DEFINE_CONTINUATIONS10 | ( | N1, | |
| N2, | |||
| N3, | |||
| N4, | |||
| N5, | |||
| N6, | |||
| N7, | |||
| N8, | |||
| N9, | |||
| N10 ) |
| #define DEFINE_CONTINUATIONS11 | ( | N1, | |
| N2, | |||
| N3, | |||
| N4, | |||
| N5, | |||
| N6, | |||
| N7, | |||
| N8, | |||
| N9, | |||
| N10, | |||
| N11 ) |
| #define DEFINE_CONTINUATIONS12 | ( | N1, | |
| N2, | |||
| N3, | |||
| N4, | |||
| N5, | |||
| N6, | |||
| N7, | |||
| N8, | |||
| N9, | |||
| N10, | |||
| N11, | |||
| N12 ) |
| #define DEFINE_CONTINUATIONS2 | ( | N1, | |
| N2 ) |
| #define DEFINE_CONTINUATIONS3 | ( | N1, | |
| N2, | |||
| N3 ) |
Referenced by WsfL16::Messages::J7_3::Initial::DEFINE_MEMBERS5().
| #define DEFINE_CONTINUATIONS4 | ( | N1, | |
| N2, | |||
| N3, | |||
| N4 ) |
| #define DEFINE_CONTINUATIONS5 | ( | N1, | |
| N2, | |||
| N3, | |||
| N4, | |||
| N5 ) |
| #define DEFINE_CONTINUATIONS6 | ( | N1, | |
| N2, | |||
| N3, | |||
| N4, | |||
| N5, | |||
| N6 ) |
| #define DEFINE_CONTINUATIONS7 | ( | N1, | |
| N2, | |||
| N3, | |||
| N4, | |||
| N5, | |||
| N6, | |||
| N7 ) |
| #define DEFINE_CONTINUATIONS8 | ( | N1, | |
| N2, | |||
| N3, | |||
| N4, | |||
| N5, | |||
| N6, | |||
| N7, | |||
| N8 ) |
| #define DEFINE_CONTINUATIONS9 | ( | N1, | |
| N2, | |||
| N3, | |||
| N4, | |||
| N5, | |||
| N6, | |||
| N7, | |||
| N8, | |||
| N9 ) |
| #define DEFINE_EXTENSION | ( | _LABEL_, | |
| _SUB_LABEL_, | |||
| _EXT_NUM_ ) |
This should be used at the top of the public: section of each Extension message.
| #define DEFINE_EXTENSIONS0 | ( | ) |
Referenced by WsfL16::Messages::J13_2::Initial::DEFINE_MEMBERS10(), WsfL16::Messages::J14_0::Initial::DEFINE_MEMBERS15(), WsfL16::Messages::J7_1::Initial::DEFINE_MEMBERS17(), WsfL16::Messages::J31_7::Initial::DEFINE_MEMBERS2(), WsfL16::Messages::J13_0::Initial::DEFINE_MEMBERS20(), WsfL16::Messages::J11_2::Initial::DEFINE_MEMBERS4(), WsfL16::Messages::J7_3::Initial::DEFINE_MEMBERS5(), WsfL16::Messages::J10_2::Initial::DEFINE_MEMBERS6(), WsfL16::Messages::J12_0::Initial::DEFINE_MEMBERS8(), and WsfL16::Messages::J9_1::Initial::DEFINE_MEMBERS9().
| #define DEFINE_EXTENSIONS1 | ( | ) |
Referenced by WsfL16::Messages::J9_0::Initial::DEFINE_MEMBERS10(), WsfL16::Messages::J7_0::Initial::DEFINE_MEMBERS14(), WsfL16::Messages::J2_0::Initial::DEFINE_MEMBERS16(), WsfL16::Messages::J2_2::Initial::DEFINE_MEMBERS20(), WsfL16::Messages::J11_0::Initial::DEFINE_MEMBERS6(), WsfL16::Messages::J12_1::Initial::DEFINE_MEMBERS6(), WsfL16::Messages::J12_6::Initial::DEFINE_MEMBERS7(), WsfL16::Messages::J11_1::Initial::DEFINE_MEMBERS8(), WsfL16::Messages::J12_3::Initial::DEFINE_MEMBERS8(), WsfL16::Messages::J12_4::Initial::DEFINE_MEMBERS9(), and WsfL16::Messages::J15_0::Initial::DEFINE_MEMBERS9().
| #define DEFINE_EXTENSIONS2 | ( | ) |
Referenced by WsfL16::Messages::J12_7::Initial::DEFINE_MEMBERS8().
| #define DEFINE_EXTENSIONS3 | ( | ) |
| #define DEFINE_INITIAL | ( | _LABEL_, | |
| _SUB_LABEL_ ) |
This should be used at the top of the public: section of each Initial message.
| #define DEFINE_VIRTUAL_TRANSERS__ | ( | ) |
Define a virtual TransferI() for each message.