SNode.C
Loading...
Searching...
No Matches
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

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

Enumeration Type Documentation

◆ State

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

Definition at line 29 of file State.h.

◆ TickStatus

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

Definition at line 29 of file TickStatus.h.

Function Documentation

◆ eventLoopState()

State core::eventLoopState ( )

Definition at line 30 of file State.cpp.

30 {
31 return EventLoop::getEventLoopState();
32 }

References core::EventLoop::getEventLoopState().

Here is the call graph for this function:

◆ getTickCounterAsString()

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

Definition at line 43 of file EventLoop.cpp.

43 {
44 std::string tick = std::to_string(EventLoop::getTickCounter());
45
46 if (tick.length() < 13) {
47 tick.insert(0, 13 - tick.length(), '0');
48 }
49
50 return tick;
51 }