NCBI C++ ToolKit
Functions
event_handler.cpp File Reference
#include <ncbi_pch.hpp>
#include <corelib/ncbistd.hpp>
#include <gui/utils/event_handler.hpp>
#include <algorithm>
+ Include dependency graph for event_handler.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Functions

const SEvtMapEntryFindEventMapEntry (const SEvtMap *pMap, CEvent::EEventClass cls, CEvent::TEventTypeInfo tif, CEvent::TEventID CmdID)
 Traverses a list of Command Maps in order to locate a handler corresponding to the given command ID. More...
 

Function Documentation

◆ FindEventMapEntry()

const SEvtMapEntry* FindEventMapEntry ( const SEvtMap pMap,
CEvent::EEventClass  cls,
CEvent::TEventTypeInfo  tif,
CEvent::TEventID  CmdID 
)

Traverses a list of Command Maps in order to locate a handler corresponding to the given command ID.

Definition at line 83 of file event_handler.cpp.

References SEvtMap::base_map, CEvent::eEvent_InvalidID, SEvtMap::entries, SEvtMapEntry::evt_class, SEvtMapEntry::id, SEvtMapEntry::last_id, util::strcmp(), and SEvtMapEntry::type_info.

Referenced by CEventHandler::OnEvent().

Modified on Tue May 28 05:49:25 2024 by modify_doxy.py rev. 669887