RInside Version 0.2.12
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
example_client.cpp File Reference
#include "datatypes/foo.h"
#include "datatypes/bar.h"
#include "common/constants.h"
#include "common/binarystream.h"
#include "client/rinsideclient.h"
#include <limits>
#include <memory>
#include <sstream>
#include <fstream>
#include <string>
#include <mutex>
#include <functional>
#include <cmath>
Include dependency graph for example_client.cpp:

Go to the source code of this file.

Functions

static void test_setting_getting ()
 
static void test_callbacks ()
 
static void test_console_output ()
 
static void test_plot ()
 
static void test_multiple ()
 
int main (void)
 

Function Documentation

int main ( void  )

Definition at line 200 of file example_client.cpp.

References test_callbacks(), test_console_output(), test_multiple(), test_plot(), and test_setting_getting().

Here is the call graph for this function:

static void test_callbacks ( )
static

Definition at line 64 of file example_client.cpp.

References BinaryStream::connectToUnixSocket(), RInsideClient::parseEval(), ris_socket_address, RInsideClient::setCallback(), and swapFoo().

Referenced by main().

Here is the call graph for this function:

static void test_console_output ( )
static

Definition at line 141 of file example_client.cpp.

References BinaryStream::connectToUnixSocket(), RInsideClient::getConsoleOutput(), RInsideClient::parseEvalQ(), and ris_socket_address.

Referenced by main().

Here is the call graph for this function:

static void test_multiple ( )
static

Definition at line 179 of file example_client.cpp.

References BinaryStream::connectToUnixSocket(), RInsideClient::getValue(), ris_socket_address, and RInsideClient::setValue().

Referenced by main().

Here is the call graph for this function:

static void test_plot ( )
static

Definition at line 155 of file example_client.cpp.

References BinaryStream::connectToUnixSocket(), RInsideClient::getPlot(), RInsideClient::initPlot(), RInsideClient::parseEvalQ(), and ris_socket_address.

Referenced by main().

Here is the call graph for this function:

static void test_setting_getting ( )
static

Definition at line 29 of file example_client.cpp.

References Foo::a, Foo::b, BinaryStream::connectToUnixSocket(), RInsideClient::getValue(), Foo::name, RInsideClient::parseEval(), ris_socket_address, and RInsideClient::setValue().

Referenced by main().

Here is the call graph for this function: