Discussion of these two classes was intentionally left out because it would
complicate the matter.
Here's some background:
Almost every application you write has the same core functions: error handling,
application profile documents, ... These two classes are used to handle this
reusable functionality. They exist in a library and are plugged into (almost)
everything.
m_wcSystem
This handles the functionality of commonly used functions.
m_err
This is the error handler. Essentially this writes events to the agent log. In
LS there are different type of error handlers: UI, Agent and web. The idea is
you pass a UI error object into the system object and suddenly all your error
messges pop up via messageboxes in the UI. Need a scheduled agent? Just change
the error handler to an agent error and everything goes to the agent log.
Discussion of these two classes was intentionally left out because it would complicate the matter.
Here's some background: Almost every application you write has the same core functions: error handling, application profile documents, ... These two classes are used to handle this reusable functionality. They exist in a library and are plugged into (almost) everything.
m_wcSystem This handles the functionality of commonly used functions.
m_err This is the error handler. Essentially this writes events to the agent log. In LS there are different type of error handlers: UI, Agent and web. The idea is you pass a UI error object into the system object and suddenly all your error messges pop up via messageboxes in the UI. Need a scheduled agent? Just change the error handler to an agent error and everything goes to the agent log.
Brendon.