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 37 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 50 of file SNodeC.cpp.

50 {
52 }
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 32 of file SNodeC.cpp.

32 {
33 if (!EventLoop::init(argc, argv)) {
34 exit(1);
35 }
36 }
static bool init(int argc, char *argv[])
Definition EventLoop.cpp:76

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 38 of file SNodeC.cpp.

38 {
39 return EventLoop::start(timeOut);
40 }
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 54 of file SNodeC.cpp.

54 {
56 }
static core::State getEventLoopState()
Definition EventLoop.cpp:71

References core::EventLoop::getEventLoopState().

Here is the call graph for this function:

◆ stop()

void core::SNodeC::stop ( )
static

Definition at line 42 of file SNodeC.cpp.

42 {
44 }
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 46 of file SNodeC.cpp.

46 {
47 return EventLoop::tick(timeOut);
48 }
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: