CMsgSwitch::CMsgSwitch()
{
// Add pointers to the message processing functions to the STL map.
// Whenever a new value is added to MSG_TYPE just declare a new message
// processing function and add it to the map below.
m_opMap[MSG_TYPE_1] = reinterpret_cast(&CMsgSwitch::ProcessMsgT1);
m_opMap[MSG_TYPE_2] = reinterpret_cast(&CMsgSwitch::ProcessMsgT2);
m_opMap[MSG_TYPE_3] = reinterpret_cast(&CMsgSwitch::ProcessMsgT3);
}