Defines | Functions | Variables
serial_listener_tests.cc File Reference
#include "gtest/gtest.h"
#include <boost/bind.hpp>
#include "serial/utils/serial_listener.h"
Include dependency graph for serial_listener_tests.cc:

Go to the source code of this file.

Defines

#define private   public
#define protected   public
#define SERIAL_PORT_NAME   "p0"

Functions

void default_handler (std::string line)
void filter_handler (std::string token)
int main (int argc, char **argv)

Variables

static size_t global_count
static size_t global_listen_count
static bool matched

Define Documentation

#define private   public

Definition at line 28 of file serial_listener_tests.cc.

#define protected   public

Definition at line 29 of file serial_listener_tests.cc.

#define SERIAL_PORT_NAME   "p0"

Definition at line 21 of file serial_listener_tests.cc.


Function Documentation

void default_handler ( std::string  line)

Definition at line 43 of file serial_listener_tests.cc.

void filter_handler ( std::string  token)

Definition at line 38 of file serial_listener_tests.cc.

int main ( int  argc,
char **  argv 
)

Definition at line 231 of file serial_listener_tests.cc.


Variable Documentation

size_t global_count [static]

Definition at line 35 of file serial_listener_tests.cc.

size_t global_listen_count [static]

Definition at line 35 of file serial_listener_tests.cc.

bool matched [static]

Definition at line 36 of file serial_listener_tests.cc.



serial_utils
Author(s): William Woodall , John Harrison
autogenerated on Thu Jun 6 2019 19:02:26