#include <mfc_dlog_modl_base.h>
Inheritance diagram for CMFCDialogModuleBase:
Public Member Functions | |
UINT | StartWorkerThread () |
CMFCDialogModuleBase () | |
virtual | ~CMFCDialogModuleBase () |
Protected Member Functions | |
HANDLE_STATUS | HandleConfigLine (ConfigSource *p_parser) |
void | CheckConfig () |
bool | PrepApp (const char *p_configfilename) |
bool | InitApp () |
virtual bool | BeforeMessage () |
virtual bool | HandleMessage (const MSG_LOGO p_msglogo, const char *p_msg) |
void | SendStatus (WORM_MSGTYPE_ID p_type, short p_ierr=0, const char *p_text=NULL) |
void | HeartBeat () |
UINT | StatusAndReadLoop () |
virtual bool | CheckForFatal () |
Protected Attributes | |
TGlobalUtils * | MyGlobalUtils |
WORM_MSGTYPE_ID | TYPE_ERROR |
WORM_MSGTYPE_ID | TYPE_HEARTBEAT |
WORM_RING_NAME | CommandRingName |
WORM_RING_ID | CommandRingKey |
SHM_INFO | CommandRegion |
WORM_RING_NAME | InputRingName |
WORM_RING_ID | InputRingKey |
SHM_INFO | InputRegion |
MSG_LOGO | AcceptLogo [SERVE_MAX_LOGOS] |
short | AcceptLogoCount |
CWinThread * | StatusThread |
Private Attributes | |
int | MaxMessageLength |
char * | MessageBuffer |
|
Definition at line 21 of file mfc_dlog_modl_base.cpp. References AcceptLogoCount, SHM_INFO::addr, CommandRegion, CommandRingKey, InputRegion, InputRingKey, MaxMessageLength, MessageBuffer, MyGlobalUtils, and WORM_RING_INVALID. |
|
Definition at line 34 of file mfc_dlog_modl_base.cpp. References SHM_INFO::addr, CommandRegion, CommandRingKey, InputRegion, InputRingKey, MessageBuffer, MyGlobalUtils, and tport_detach(). |
|
Definition at line 410 of file mfc_dlog_modl_base.cpp. Referenced by StatusAndReadLoop(). |
|
Reimplemented from TConfigurable. Definition at line 296 of file mfc_dlog_modl_base.cpp. References AcceptLogoCount, CommandRingKey, TConfigurable::ConfigState, TGlobalUtils::GetHeartbeatInt(), TGlobalUtils::GetLoggingLevel(), TConfigurable::IsReady(), CMFCDialogAppBase::LoggingLevel, TLogger::Logit(), TGlobalUtils::LookupMessageTypeId(), MaxMessageLength, MyGlobalUtils, TYPE_ERROR, TYPE_HEARTBEAT, WORM_MSGTYPE_INVALID, WORM_RING_INVALID, and WORM_STAT_BADSTATE. |
|
Definition at line 205 of file mfc_dlog_modl_base.h. Referenced by StatusAndReadLoop(). |
|
|
Definition at line 174 of file mfc_dlog_modl_base.h. Referenced by StatusAndReadLoop(). |
|
Definition at line 667 of file mfc_dlog_modl_base.cpp. References TGlobalUtils::GetHeartbeatInt(), and SendStatus(). |
|
Reimplemented from CMFCDialogAppBase. Definition at line 372 of file mfc_dlog_modl_base.cpp. References TLogger::Logit(), TTimeFuncs::MSecSleep(), and StatusThread. |
|
Reimplemented from CMFCDialogAppBase. Definition at line 66 of file mfc_dlog_modl_base.cpp. References EW_CONFIG_DIR, TGlobalUtils::GetEnvironmentValue(), TGlobalUtils::GetLoggingLevel(), CMFCDialogAppBase::LoggingLevel, TLogger::Logit(), MyGlobalUtils, and WORM_CONFIG_DIR. |
|
Definition at line 685 of file mfc_dlog_modl_base.cpp. References SHM_INFO::addr, CommandRegion, TGlobalUtils::GetThisInstallationId(), TGlobalUtils::GetThisModuleId(), MSG_LOGO::instid, CMFCDialogAppBase::LoggingLevel, TLogger::Logit(), MSG_LOGO::mod, PUT_OK, CMFCDialogAppBase::Running, tport_putmsg(), MSG_LOGO::type, TYPE_ERROR, TYPE_HEARTBEAT, and WORM_LOG_DEBUG. Referenced by HeartBeat(), and StatusAndReadLoop(). |
|
Reimplemented from CMFCDialogAppBase. Definition at line 414 of file mfc_dlog_modl_base.cpp. References StatusAndReadLoop(). |
|
|
Definition at line 164 of file mfc_dlog_modl_base.h. Referenced by HandleConfigLine(), and StatusAndReadLoop(). |
|
Definition at line 165 of file mfc_dlog_modl_base.h. Referenced by CheckConfig(), CMFCDialogModuleBase(), HandleConfigLine(), and StatusAndReadLoop(). |
|
Definition at line 157 of file mfc_dlog_modl_base.h. Referenced by CMFCDialogModuleBase(), SendStatus(), and ~CMFCDialogModuleBase(). |
|
Definition at line 156 of file mfc_dlog_modl_base.h. Referenced by CheckConfig(), CMFCDialogModuleBase(), HandleConfigLine(), StatusAndReadLoop(), and ~CMFCDialogModuleBase(). |
|
Definition at line 155 of file mfc_dlog_modl_base.h. |
|
Definition at line 162 of file mfc_dlog_modl_base.h. Referenced by CMFCDialogModuleBase(), and ~CMFCDialogModuleBase(). |
|
Definition at line 161 of file mfc_dlog_modl_base.h. Referenced by CMFCDialogModuleBase(), HandleConfigLine(), StatusAndReadLoop(), and ~CMFCDialogModuleBase(). |
|
Definition at line 160 of file mfc_dlog_modl_base.h. |
|
Definition at line 149 of file mfc_dlog_modl_base.h. Referenced by CheckConfig(), CMFCDialogModuleBase(), HandleConfigLine(), and StatusAndReadLoop(). |
|
Definition at line 150 of file mfc_dlog_modl_base.h. Referenced by CMFCDialogModuleBase(), StatusAndReadLoop(), and ~CMFCDialogModuleBase(). |
|
Definition at line 142 of file mfc_dlog_modl_base.h. Referenced by CheckConfig(), CMFCDialogModuleBase(), HandleConfigLine(), PrepApp(), and ~CMFCDialogModuleBase(). |
|
Definition at line 179 of file mfc_dlog_modl_base.h. Referenced by InitApp(). |
|
Definition at line 145 of file mfc_dlog_modl_base.h. Referenced by CheckConfig(), and SendStatus(). |
|
Definition at line 145 of file mfc_dlog_modl_base.h. Referenced by CheckConfig(), and SendStatus(). |