event.h File Reference


Detailed Description

Declarations for the event system.

Date:
Created: 2005-05-29

#include <omgui/dllimpexp.h>
#include <omgui/event-id.h>
#include <omgui/types.h>
#include <map>
#include <list>
#include <queue>

Go to the source code of this file.

Namespaces

namespace  omgui

Classes

class  omgui::Connection
class  omgui::ConnectionBody
class  omgui::ConnectionImpl
class  omgui::ConstMemberSlot< E, T >
class  omgui::Event
class  omgui::EventManager
struct  omgui::EventManager::ObjectEventEraseBufferData
struct  omgui::EventManager::SignalsGroup
class  omgui::FunctorSlot< E, F >
class  omgui::MemberSlot< E, T >
class  omgui::MenuEvent
class  omgui::MouseEvent
class  omgui::NotebookEvent
class  omgui::PointerSlot< E >
class  omgui::Signal
class  omgui::SlotBase
class  omgui::WindowCloseEvent

Functions

template<typename E, typename Functor>
SlotBase * omgui::make_slot (const Functor &func)
template<typename E, typename T>
SlotBase * omgui::make_slot (typename ConstMemberSlot< E, T >::function_type func, T &instance)
template<typename E, typename T>
SlotBase * omgui::make_slot (typename MemberSlot< E, T >::function_type func, T &instance)
template<typename E>
SlotBase * omgui::make_slot (typename PointerSlot< E >::function_type const &func)

Variables

const event_id omgui::EVENT_ID_ANY = 0
Slot Priorities
Slots connected with a higher priority (a lower value) are signaled before those with lower priority (a higher value). These constants are defined to provide some preset priority levels. Custum priority levels are allowed. Any priority level higher than RUN_FIRST is discouraged.

const int omgui::SIGNAL_PRIORITY_HIGHER = 9
const int omgui::SIGNAL_PRIORITY_LOWER = 11
const int omgui::SIGNAL_PRIORITY_NORMAL = 10
 This is the default priority.
const int omgui::SIGNAL_PRIORITY_RUN_FIRST = 1
const int omgui::SIGNAL_PRIORITY_RUN_LAST = 20


doxygen SourceForge.net Logo