SW Task Event Loop Framework v1.0.0
High-performance C++ asynchronous event loop framework with timer management and promise-based programming
Loading...
Searching...
No Matches
swt Namespace Reference

Software Timer namespace containing all timer-related classes. More...

Classes

class  Buffer
 Dynamic byte buffer for data storage and manipulation. More...
 
class  CpuTaskExecutor
 Static utility class for executing CPU-intensive tasks asynchronously. More...
 
class  CpuTaskTimeoutException
 Exception thrown when CPU-bound tasks exceed timeout limits. More...
 
class  DelayAwaitable
 Awaitable for delay operations. More...
 
class  EventQueue
 Thread-safe unified queue for messages and function tasks with timed execution. More...
 
class  Handler
 Android-style message handler for event-driven programming. More...
 
class  Message
 Message object for event-driven communication between threads and handlers. More...
 
class  PostAwaitable
 Awaitable for executing function on main thread. More...
 
class  PostAwaitable< void >
 Specialization for void return type. More...
 
class  Promise
 Type-safe promise for asynchronous result handling with continuation chaining. More...
 
class  Promise< void >
 Template specialization for void-returning promises. More...
 
class  RefBase
 
class  SLLooper
 Central event loop coordinator providing asynchronous task execution and timer management. More...
 
class  State
 Thread-safe promise state management with continuation support. More...
 
class  State< std::monostate >
 Template specialization for void-returning promises. More...
 
class  Task
 RAII wrapper for coroutines with proper continuation chaining. More...
 
class  TaskPromise
 Promise type for coroutine-based Task implementation. More...
 
class  TaskPromise< void >
 Specialized promise for void-returning coroutines. More...
 
class  Timer
 RAII timer wrapper with boost-style API and move semantics. More...
 
class  TimerManager
 High-performance timer management with configurable backend. More...
 
class  WorkAwaitable
 Awaitable for executing work on background thread. More...
 
class  WorkAwaitable< void >
 Specialization for void return type. More...
 

Typedefs

using TimerId = uint64_t
 Unique identifier type for timer instances.
 

Functions

template swt::Promise< std::string > swt::EventQueue::enqueuePromise< std::string > ()
 

Detailed Description

Software Timer namespace containing all timer-related classes.

Typedef Documentation

◆ TimerId

typedef uint64_t swt::TimerId

Unique identifier type for timer instances.

Unique identifier type for timers.

64-bit unsigned integer providing unique identification for each timer created by TimerManager. Used for internal timer tracking and management.

64-bit unsigned integer used to uniquely identify timer instances

Definition at line 25 of file Timer.h.

Function Documentation

◆ swt::EventQueue::enqueuePromise< std::string >()

template swt::Promise< std::string > swt::swt::EventQueue::enqueuePromise< std::string > ( )