SNode.C
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages Concepts
core Namespace Reference

Namespaces

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

Classes

class  Descriptor
 
class  DescriptorEventPublisher
 
class  DescriptorEventReceiver
 
class  DynamicLoader
 
class  Event
 
class  EventLoop
 
class  EventMultiplexer
 
class  EventReceiver
 
class  Observer
 
class  SNodeC
 
class  Timer
 
class  TimerEventPublisher
 
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()

static 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 }

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: