SNode.C
Loading...
Searching...
No Matches
core::SNodeC Class Reference

#include <SNodeC.h>

Collaboration diagram for core::SNodeC:

Public Member Functions

 SNodeC ()=delete
 
 ~SNodeC ()=delete
 
void * operator new (std::size_t count)=delete
 

Static Public Member Functions

static void init (int argc, char *argv[])
 
static int start (const utils::Timeval &timeOut={LONG_MAX, 0})
 
static void stop ()
 
static TickStatus tick (const utils::Timeval &timeOut=0)
 
static void free ()
 
static State state ()
 

Detailed Description

Definition at line 59 of file SNodeC.h.

Constructor & Destructor Documentation

◆ SNodeC()

core::SNodeC::SNodeC ( )
delete

◆ ~SNodeC()

core::SNodeC::~SNodeC ( )
delete

Member Function Documentation

◆ free()

void core::SNodeC::free ( )
static

Definition at line 72 of file SNodeC.cpp.

72 {
74 }
static void free()

References core::EventLoop::free().

Here is the call graph for this function:

◆ init()

void core::SNodeC::init ( int argc,
char * argv[] )
static

Definition at line 54 of file SNodeC.cpp.

54 {
55 if (!EventLoop::init(argc, argv)) {
56 exit(1);
57 }
58 }
static bool init(int argc, char *argv[])
Definition EventLoop.cpp:98

References core::EventLoop::init().

Referenced by main().

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

◆ operator new()

void * core::SNodeC::operator new ( std::size_t count)
delete

◆ start()

int core::SNodeC::start ( const utils::Timeval & timeOut = {LONG_MAX, 0})
static

Definition at line 60 of file SNodeC.cpp.

60 {
61 return EventLoop::start(timeOut);
62 }
static int start(const utils::Timeval &timeOut)

References core::EventLoop::start().

Referenced by main().

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

◆ state()

State core::SNodeC::state ( )
static

Definition at line 76 of file SNodeC.cpp.

76 {
78 }
static core::State getEventLoopState()
Definition EventLoop.cpp:93

References core::EventLoop::getEventLoopState().

Here is the call graph for this function:

◆ stop()

void core::SNodeC::stop ( )
static

Definition at line 64 of file SNodeC.cpp.

64 {
66 }
static void stop()

References core::EventLoop::stop().

Here is the call graph for this function:

◆ tick()

TickStatus core::SNodeC::tick ( const utils::Timeval & timeOut = 0)
static

Definition at line 68 of file SNodeC.cpp.

68 {
69 return EventLoop::tick(timeOut);
70 }
static TickStatus tick(const utils::Timeval &timeOut)

References core::EventLoop::tick().

Here is the call graph for this function:

The documentation for this class was generated from the following files: