SNode.C
|
#include <EventLoop.h>
Public Member Functions | |
EventLoop (const EventLoop &eventLoop)=delete | |
EventLoop & | operator= (const EventLoop &eventLoop)=delete |
EventMultiplexer & | getEventMultiplexer () |
Static Public Member Functions | |
static EventLoop & | instance () |
static unsigned long | getTickCounter () |
static core::State | getEventLoopState () |
Private Member Functions | |
EventLoop () | |
~EventLoop ()=default | |
TickStatus | _tick (const utils::Timeval &timeOut) |
Static Private Member Functions | |
static bool | init (int argc, char *argv[]) |
static TickStatus | tick (const utils::Timeval &timeOut) |
static int | start (const utils::Timeval &timeOut) |
static void | stop () |
static void | free () |
static void | stoponsig (int sig) |
Private Attributes | |
core::EventMultiplexer & | eventMultiplexer |
Static Private Attributes | |
static int | stopsig = 0 |
static unsigned long | tickCounter = 0 |
static core::State | eventLoopState = State::LOADED |
Friends | |
class | SNodeC |
Definition at line 40 of file EventLoop.h.
|
delete |
|
private |
Definition at line 53 of file EventLoop.cpp.
|
privatedefault |
|
private |
Definition at line 114 of file EventLoop.cpp.
|
staticprivate |
Definition at line 227 of file EventLoop.cpp.
Referenced by core::SNodeC::free().
|
static |
Definition at line 71 of file EventLoop.cpp.
Referenced by core::eventLoopState(), and core::SNodeC::state().
EventMultiplexer & core::EventLoop::getEventMultiplexer | ( | ) |
Definition at line 67 of file EventLoop.cpp.
Referenced by core::eventreceiver::AcceptEventReceiver::AcceptEventReceiver(), core::eventreceiver::ConnectEventReceiver::ConnectEventReceiver(), core::Event::Event(), core::eventreceiver::ExceptionalConditionEventReceiver::ExceptionalConditionEventReceiver(), core::eventreceiver::ReadEventReceiver::ReadEventReceiver(), and core::eventreceiver::WriteEventReceiver::WriteEventReceiver().
|
static |
Definition at line 63 of file EventLoop.cpp.
|
staticprivate |
Definition at line 76 of file EventLoop.cpp.
Referenced by core::SNodeC::init().
|
static |
Definition at line 57 of file EventLoop.cpp.
Referenced by core::eventreceiver::AcceptEventReceiver::AcceptEventReceiver(), core::eventreceiver::ConnectEventReceiver::ConnectEventReceiver(), core::Event::Event(), core::eventreceiver::ExceptionalConditionEventReceiver::ExceptionalConditionEventReceiver(), core::eventreceiver::ReadEventReceiver::ReadEventReceiver(), and core::eventreceiver::WriteEventReceiver::WriteEventReceiver().
|
staticprivate |
Definition at line 162 of file EventLoop.cpp.
Referenced by core::SNodeC::start().
|
staticprivate |
Definition at line 223 of file EventLoop.cpp.
Referenced by core::SNodeC::stop().
|
staticprivate |
Definition at line 274 of file EventLoop.cpp.
|
staticprivate |
Definition at line 137 of file EventLoop.cpp.
Referenced by core::SNodeC::tick().
|
friend |
Definition at line 77 of file EventLoop.h.
|
staticprivate |
Definition at line 75 of file EventLoop.h.
|
private |
Definition at line 69 of file EventLoop.h.
|
staticprivate |
Definition at line 71 of file EventLoop.h.
|
staticprivate |
Definition at line 73 of file EventLoop.h.