Main Page Class Hierarchy Compound List File List Compound Members File Members

# worm_types.h File Reference

`#include <string>`
`#include <map>`
`#include <vector>`

Go to the source code of this file.

## Compounds
struct | MSG_LOGO
## Defines
#define | WORM_TIMESTR_LEN 26
#define | WORM_TIME_INVALID "19000101000000.000"
#define | WORM_PROGRAMNAME_LEN 38
#define | WORM_LOGDIR_LEN 120
#define | WORM_FILENAME_LEN 240
#define | WORM_INSTALLATION_INVALID (WORM_INSTALLATION_ID)0
#define | WORM_INSTALLATION_WILD (WORM_INSTALLATION_ID)0
#define | WORM_MODULE_INVALID (WORM_MODULE_ID)0
#define | WORM_MODULE_WILD (WORM_MODULE_ID)0
#define | WORM_MSGTYPE_INVALID (WORM_MSGTYPE_ID)0
#define | WORM_MSGTYPE_WILD (WORM_MSGTYPE_ID)0
#define | WORM_RING_INVALID 0L
#define | MAX_INSTALLNAME_LEN 32
#define | MAX_RINGNAME_LEN 32
#define | MAX_MODNAME_LEN 32
#define | MAX_MSGTYPENAME_LEN 32
## Typedefs
typedef char | WORM_TIME [WORM_TIMESTR_LEN+1]
typedef char * | WORM_TIME_PTR
typedef char | PROGRAM_NAME [WORM_PROGRAMNAME_LEN+1]
typedef char | LOG_DIRECTORY [WORM_LOGDIR_LEN+1]
typedef char | GEN_FILENAME [WORM_FILENAME_LEN+1]
typedef unsigned char | WORM_INSTALLATION_ID
typedef std::map< std::string, WORM_INSTALLATION_ID > | INSTALLATION_MAP
typedef INSTALLATION_MAP::iterator | INSTALLATION_MAP_ITERATOR
typedef unsigned char | WORM_MODULE_ID
typedef std::map< std::string, WORM_MODULE_ID > | MODULE_MAP
typedef MODULE_MAP::iterator | MODULE_MAP_ITERATOR
typedef unsigned char | WORM_MSGTYPE_ID
typedef std::map< std::string, WORM_MSGTYPE_ID > | MESSAGETYPE_MAP
typedef MESSAGETYPE_MAP::iterator | MESSAGETYPE_MAP_ITERATOR
typedef unsigned long | WORM_RING_ID
typedef std::map< std::string, WORM_RING_ID > | RING_MAP
typedef RING_MAP::iterator | RING_MAP_ITERATOR
typedef char | WORM_INSTALL_NAME [MAX_INSTALLNAME_LEN+1]
typedef char | WORM_RING_NAME [MAX_RINGNAME_LEN+1]
typedef char | WORM_MODULE_NAME [MAX_MODNAME_LEN+1]
typedef char | WORM_MSGTYPE_NAME [MAX_MSGTYPENAME_LEN+1]

## Define Documentation

#define MAX_INSTALLNAME_LEN 32

| Definition at line 64 of file worm_types.h. Referenced by TGlobalUtils::ParseLookupLine().

#define MAX_MODNAME_LEN 32

| Definition at line 70 of file worm_types.h. Referenced by TGlobalUtils::ParseLookupLine().

#define MAX_MSGTYPENAME_LEN 32

| Definition at line 73 of file worm_types.h. Referenced by TGlobalUtils::ParseLookupLine().

#define MAX_RINGNAME_LEN 32

| Definition at line 67 of file worm_types.h. Referenced by TGlobalUtils::ParseLookupLine().

#define WORM_FILENAME_LEN 240

| Definition at line 32 of file worm_types.h.

#define WORM_INSTALLATION_INVALID (WORM_INSTALLATION_ID)0

| Definition at line 37 of file worm_types.h. Referenced by TGlobalUtils::CheckConfig(), TGlobalUtils::LookupInstallationId(), and TGlobalUtils::TGlobalUtils().

#define WORM_INSTALLATION_WILD (WORM_INSTALLATION_ID)0

| Definition at line 38 of file worm_types.h.

#define WORM_LOGDIR_LEN 120

| Definition at line 29 of file worm_types.h.

#define WORM_MODULE_INVALID (WORM_MODULE_ID)0

| Definition at line 44 of file worm_types.h. Referenced by TGlobalUtils::HandleConfigLine(), and TGlobalUtils::LookupModuleId().

#define WORM_MODULE_WILD (WORM_MODULE_ID)0

| Definition at line 45 of file worm_types.h.

#define WORM_MSGTYPE_INVALID (WORM_MSGTYPE_ID)0

| Definition at line 51 of file worm_types.h. Referenced by MutableServerBase::CheckConfig(), TModuleBase::CheckConfig(), CMFCDialogModuleBase::CheckConfig(), TGlobalUtils::LookupMessageTypeId(), RingReaderServer::PrepareToRun(), and WormServerBase::WormServerBase().

#define WORM_MSGTYPE_WILD (WORM_MSGTYPE_ID)0

| Definition at line 52 of file worm_types.h.

#define WORM_PROGRAMNAME_LEN 38

| Definition at line 26 of file worm_types.h.

#define WORM_RING_INVALID 0L

| Definition at line 58 of file worm_types.h. Referenced by WormServerBase::CheckConfig(), RingReaderServer::CheckConfig(), MutableServerBase::CheckConfig(), TModuleBase::CheckConfig(), CMFCDialogModuleBase::CheckConfig(), CMFCDialogModuleBase::CMFCDialogModuleBase(), WormServerBase::HandleConfigLine(), RingReaderServer::HandleConfigLine(), MutableServerBase::HandleConfigLine(), TModuleBase::HandleConfigLine(), CMFCDialogModuleBase::HandleConfigLine(), TGlobalUtils::LookupRingKey(), MutableServerBase::MainThreadActions(), MutableServerBase::MutableServerBase(), RingReaderServer::RingReaderServer(), MutableServerBase::Run(), WormServerBase::SendStatus(), CMFCDialogModuleBase::StatusAndReadLoop(), TModuleBase::TModuleBase(), WormServerBase::WormServerBase(), and MutableServerBase::~MutableServerBase().

#define WORM_TIME_INVALID "19000101000000.000"

| Definition at line 24 of file worm_types.h.

#define WORM_TIMESTR_LEN 26

| Definition at line 21 of file worm_types.h.

## Typedef Documentation

typedef char GEN_FILENAME[WORM_FILENAME_LEN+1]

| Definition at line 33 of file worm_types.h. Referenced by TGlobalUtils::TGlobalUtils().

typedef std::map<std::string, WORM_INSTALLATION_ID> INSTALLATION_MAP

| Definition at line 39 of file worm_types.h.

typedef INSTALLATION_MAP::iterator INSTALLATION_MAP_ITERATOR

| Definition at line 40 of file worm_types.h.

typedef char LOG_DIRECTORY[WORM_LOGDIR_LEN+1]

| Definition at line 30 of file worm_types.h.

typedef std::map<std::string, WORM_MSGTYPE_ID> MESSAGETYPE_MAP

| Definition at line 53 of file worm_types.h.

typedef MESSAGETYPE_MAP::iterator MESSAGETYPE_MAP_ITERATOR

| Definition at line 54 of file worm_types.h.

typedef std::map<std::string, WORM_MODULE_ID> MODULE_MAP

| Definition at line 46 of file worm_types.h.

typedef MODULE_MAP::iterator MODULE_MAP_ITERATOR

| Definition at line 47 of file worm_types.h.

typedef char PROGRAM_NAME[WORM_PROGRAMNAME_LEN+1]

| Definition at line 27 of file worm_types.h.

typedef std::map<std::string, WORM_RING_ID> RING_MAP

| Definition at line 59 of file worm_types.h.

typedef RING_MAP::iterator RING_MAP_ITERATOR

| Definition at line 60 of file worm_types.h.

typedef char WORM_INSTALL_NAME[MAX_INSTALLNAME_LEN+1]

| Definition at line 65 of file worm_types.h.

typedef unsigned char WORM_INSTALLATION_ID

| Definition at line 36 of file worm_types.h. Referenced by TGlobalUtils::GetThisInstallationId(), and TGlobalUtils::LookupInstallationId().

typedef unsigned char WORM_MODULE_ID

| Definition at line 43 of file worm_types.h. Referenced by TGlobalUtils::GetThisModuleId(), and TGlobalUtils::LookupModuleId().

typedef char WORM_MODULE_NAME[MAX_MODNAME_LEN+1]

| Definition at line 71 of file worm_types.h.

typedef unsigned char WORM_MSGTYPE_ID

| Definition at line 50 of file worm_types.h. Referenced by TGlobalUtils::LookupMessageTypeId().

typedef char WORM_MSGTYPE_NAME[MAX_MSGTYPENAME_LEN+1]

| Definition at line 74 of file worm_types.h.

typedef unsigned long WORM_RING_ID

| Definition at line 57 of file worm_types.h. Referenced by TGlobalUtils::LookupRingKey(), and TGlobalUtils::ParseLookupLine().

typedef char WORM_RING_NAME[MAX_RINGNAME_LEN+1]

| Definition at line 68 of file worm_types.h.

typedef char WORM_TIME[WORM_TIMESTR_LEN+1]

| Definition at line 22 of file worm_types.h.

typedef char* WORM_TIME_PTR

| Definition at line 23 of file worm_types.h.