|
WSF
|
The JMessageFactory is a static class for creating JMessages. More...
#include <MessagesFactory.hpp>
Classes | |
| struct | MessageInfo |
Public Types | |
| typedef std::map< int, MessageInfo > | MessageMap |
Public Member Functions | |
| Factory () | |
| ~Factory () | |
Static Public Member Functions | |
| static void | Initialize (UtScriptTypes *aScriptTypes) |
| static void | ResetState () |
| static std::vector< InitialBase * > | ReadMessage (const unsigned char *aData) |
| Read a JMessage from a short *. | |
| static std::vector< InitialBase * > | ReadMessage (MessageBitInput &aInput, int aNumJ_Words=-1) |
| Read a JMessage from a MessageBitInput. | |
| static InitialBase * | CreateInitialWord (int aLabel, int aSublabel) |
| Create a new JMessageI with the specified label and sub-label. | |
| static InitialBase * | CreateFullMessage (int aLabel, int aSublabel) |
| Create a new Initial message with all implemented sub-words. | |
| static ContinuationBase * | CreateContinuationWord (InitialBase *aParent, int continuationLabel) |
| Create a new continuation word, and put it in the initial word aParent. | |
| static ExtensionBase * | CreateExtensionWord (InitialBase *aParent, int extensionWordIndex) |
| Create a new extension word, and put it in the initial word aParent. | |
| static MessageScriptClass * | GetMessageScriptClass (int aLabel, int aSubLabel) |
| static const MessageMap & | GetMessages () |
Static Protected Member Functions | |
| static void | InitializeAccessors () |
| static void | LoadMessageAccessors (Messages::InitialBase *aMessage) |
| static void | LoadWordAccessors (Messages::Base *aWord) |
| static InitialBase * | NewMessage (int aLabel, int aSubLabel) |
| static void | RegisterScriptClasses (UtScriptTypes &aTypes) |
| static void | AddMessage (Messages::InitialBase *aMessage) |
Static Protected Attributes | |
| static MessageMap | mMessages |
| static std::set< int > | mUnhandledJMessages |
The JMessageFactory is a static class for creating JMessages.
| typedef std::map<int, MessageInfo> WsfL16::Messages::Factory::MessageMap |
| WsfL16::Messages::Factory::Factory | ( | ) |
| WsfL16::Messages::Factory::~Factory | ( | ) |
|
staticprotected |
References WsfL16::Messages::Factory::MessageInfo::mMessagePtr, mMessages, and WsfL16::Messages::Factory::MessageInfo::mScriptClass.
Referenced by Initialize().
|
static |
Create a new continuation word, and put it in the initial word aParent.
References WsfL16::Messages::InitialBase::AddContinuationWord().
Referenced by ~Factory().
|
static |
Create a new extension word, and put it in the initial word aParent.
References WsfL16::Messages::InitialBase::AddExtensionWord().
Referenced by ~Factory().
|
static |
Create a new Initial message with all implemented sub-words.
References WsfL16::Messages::InitialBase::AddContinuationWord(), WsfL16::Messages::InitialBase::AddExtensionWord(), and NewMessage().
Referenced by InitializeAccessors(), and ~Factory().
|
static |
Create a new JMessageI with the specified label and sub-label.
References NewMessage().
Referenced by ~Factory().
|
inlinestatic |
References mMessages.
Referenced by InitializeAccessors().
|
static |
References mMessages.
Referenced by ~Factory().
|
static |
References AddMessage(), InitializeAccessors(), and RegisterScriptClasses().
Referenced by ~Factory().
|
staticprotected |
References CreateFullMessage(), GetMessages(), and LoadMessageAccessors().
Referenced by Initialize().
|
staticprotected |
References LoadWordAccessors().
Referenced by InitializeAccessors().
|
staticprotected |
References WsfL16::Messages::MessageAccessorFiller::ProcessMessage().
Referenced by LoadMessageAccessors().
|
staticprotected |
References mMessages.
Referenced by CreateFullMessage(), CreateInitialWord(), and ReadMessage().
|
static |
Read a JMessage from a short *.
References ReadMessage().
Referenced by ReadMessage(), and ~Factory().
|
static |
Read a JMessage from a MessageBitInput.
References WsfL16::Messages::InitialBase::AddContinuationWord(), WsfL16::Messages::InitialBase::AddExtensionWord(), WsfL16::Messages::Base::cCONTINUATION, WsfL16::Messages::Base::cEXTENSION, WsfL16::Messages::Base::cINITIAL, WsfL16::Messages::InitialBase::GetHeader(), WsfL16::Messages::InitialBase::GetMessageLength(), mUnhandledJMessages, NewMessage(), ok, WsfL16::Messages::MessageBitInput::Read(), WsfL16::Messages::MessageBitInput::Skip(), and WsfL16::Messages::Base::TransferI().
|
staticprotected |
|
static |
References mMessages, and mUnhandledJMessages.
Referenced by ~Factory().
|
staticprotected |
Referenced by AddMessage(), GetMessages(), GetMessageScriptClass(), NewMessage(), RegisterScriptClasses(), and ResetState().
|
staticprotected |
Referenced by ReadMessage(), and ResetState().