RInside Version 0.2.12
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
example_server.cpp File Reference
#include "common/binarystream.h"
#include "common/constants.h"
#include "datatypes/foo.h"
#include "datatypes/bar.h"
#include <cstdlib>
#include <cstdio>
#include <string.h>
#include <map>
#include <atomic>
#include <iostream>
#include <fstream>
#include <stdexcept>
#include <chrono>
#include <thread>
#include <time.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <sys/wait.h>
#include <sys/stat.h>
#include <poll.h>
#include <signal.h>
#include <RcppCommon.h>
#include "datatypes/foo_rcpp_wrapper_declarations.h"
#include "datatypes/bar_rcpp_wrapper_declarations.h"
#include <Rcpp.h>
#include <RInside.h>
#include "datatypes/foo_rcpp_wrapper_definitions.h"
#include "datatypes/bar_rcpp_wrapper_definitions.h"
#include "server/rinsideserver.h"
Include dependency graph for example_server.cpp:

Go to the source code of this file.

Macros

#define LOG(...)   {fprintf(stderr, "%d: ", getpid());fprintf(stderr, __VA_ARGS__);fprintf(stderr, "\n");}
 

Functions

int cmpTimespec (const struct timespec &t1, const struct timespec &t2)
 
void signal_handler (int signum)
 
int main ()
 

Variables

const int TIMEOUT_SECONDS = 600
 

Macro Definition Documentation

#define LOG (   ...)    {fprintf(stderr, "%d: ", getpid());fprintf(stderr, __VA_ARGS__);fprintf(stderr, "\n");}

Function Documentation

int cmpTimespec ( const struct timespec &  t1,
const struct timespec &  t2 
)

Definition at line 78 of file example_server.cpp.

Referenced by main().

void signal_handler ( int  signum)

Definition at line 91 of file example_server.cpp.

References LOG.

Referenced by main().

Variable Documentation

const int TIMEOUT_SECONDS = 600

Definition at line 52 of file example_server.cpp.

Referenced by main().