SNode.C
Loading...
Searching...
No Matches
core Namespace Reference

Namespaces

namespace  timer
namespace  socket
namespace  pipe
namespace  eventreceiver
namespace  file
namespace  multiplexer
namespace  ssl
namespace  system

Classes

class  SNodeC
class  Descriptor
class  DescriptorEventPublisher
class  Observer
class  DescriptorEventReceiver
class  Event
class  EventLoop
class  EventMultiplexer
class  EventReceiver
class  DynamicLoader
class  TimerEventPublisher
class  Timer
class  TimerEventReceiver

Enumerations

enum class  State { LOADED , INITIALIZED , RUNNING , STOPPING }
enum class  TickStatus { SUCCESS , INTERRUPTED , NOOBSERVER , TRACE }

Functions

static std::string getTickCounterAsString (const el::LogMessage *logMessage)
State eventLoopState ()

Enumeration Type Documentation

◆ State

enum class core::State
strong
Enumerator
LOADED 
INITIALIZED 
RUNNING 
STOPPING 

Definition at line 51 of file State.h.

◆ TickStatus

enum class core::TickStatus
strong
Enumerator
SUCCESS 
INTERRUPTED 
NOOBSERVER 
TRACE 

Definition at line 51 of file TickStatus.h.

Function Documentation

◆ eventLoopState()

◆ getTickCounterAsString()

std::string core::getTickCounterAsString ( const el::LogMessage * logMessage)
static

Definition at line 65 of file EventLoop.cpp.

65 {
66 std::string tick = std::to_string(EventLoop::getTickCounter());
67
68 if (tick.length() < 13) {
69 tick.insert(0, 13 - tick.length(), '0');
70 }
71
72 return tick;
73 }
static unsigned long getTickCounter()
Definition EventLoop.cpp:85

References core::EventLoop::getTickCounter().

Referenced by core::EventLoop::init().

Here is the call graph for this function:
Here is the caller graph for this function: