libpromeki main
PROfessional MEdia toolKIt
 
Loading...
Searching...
No Matches
Core Events

Event loop, signals/slots, and object lifecycle management. More...

Classes

class  Application
 Application-wide state for the promeki library. More...
 
class  Event
 Base class for the event system. More...
 
class  EventLoop
 Per-thread event loop providing event dispatch, timers, and posted callables. More...
 
class  Signal< Args >
 Type-safe signal/slot mechanism for decoupled event notification. More...
 
class  Slot< Args >
 Type-safe callback slot that wraps a callable with optional ownership tracking. More...
 
class  TimerEvent
 Event delivered when a timer fires. More...
 

Enumerations

enum class  SchedulePolicy {
  SchedulePolicy::Default , SchedulePolicy::RoundRobin , SchedulePolicy::Fifo , SchedulePolicy::Batch ,
  SchedulePolicy::Idle
}
 Scheduling policy for thread priority control. More...
 

Functions

 ObjectBasePtr::ObjectBasePtr (ObjectBase *object=nullptr)
 

Detailed Description

Event loop, signals/slots, and object lifecycle management.

Per-thread EventLoop with timer support, Signal/Slot connections (including cross-thread dispatch), Thread wrapper with built-in event loop, ObjectBase with thread-affinity, and Application entry point.

Enumeration Type Documentation

◆ SchedulePolicy

Scheduling policy for thread priority control.

Wraps the OS-level scheduling policies. Not all policies are available on every platform — unsupported values map to Default.

Enumerator
Default 

Normal time-sharing (SCHED_OTHER on POSIX).

RoundRobin 

Real-time round-robin (SCHED_RR).

Fifo 

Real-time first-in-first-out (SCHED_FIFO).

Batch 

Batch scheduling, Linux only (SCHED_BATCH).

Idle 

Idle scheduling, Linux only (SCHED_IDLE).

Function Documentation

◆ ObjectBasePtr()

ObjectBasePtr::ObjectBasePtr ( ObjectBase object = nullptr)
inline
            @brief Constructs a pointer tracking the given ObjectBase.
            @param object The ObjectBase to track, or nullptr.