Functions | Variables
mongodb_log_pcl.cpp File Reference
#include <ros/ros.h>
#include <mongo/client/dbclient.h>
#include <sensor_msgs/PointCloud.h>
#include <unistd.h>
#include <cstring>
#include <mongodb_store/util.h>
Include dependency graph for mongodb_log_pcl.cpp:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 
void msg_callback (const sensor_msgs::PointCloud::ConstPtr &msg)
 
void print_count (const ros::TimerEvent &te)
 

Variables

std::string collection
 
unsigned int drop_counter
 
static pthread_mutex_t drop_counter_mutex = PTHREAD_MUTEX_INITIALIZER
 
unsigned int in_counter
 
static pthread_mutex_t in_counter_mutex = PTHREAD_MUTEX_INITIALIZER
 
DBClientConnection * mongodb_conn
 
unsigned int out_counter
 
static pthread_mutex_t out_counter_mutex = PTHREAD_MUTEX_INITIALIZER
 
unsigned int qsize
 
static pthread_mutex_t qsize_mutex = PTHREAD_MUTEX_INITIALIZER
 

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 130 of file mongodb_log_pcl.cpp.

void msg_callback ( const sensor_msgs::PointCloud::ConstPtr &  msg)

Definition at line 49 of file mongodb_log_pcl.cpp.

void print_count ( const ros::TimerEvent te)

Definition at line 104 of file mongodb_log_pcl.cpp.

Variable Documentation

std::string collection

Definition at line 37 of file mongodb_log_pcl.cpp.

unsigned int drop_counter

Definition at line 42 of file mongodb_log_pcl.cpp.

pthread_mutex_t drop_counter_mutex = PTHREAD_MUTEX_INITIALIZER
static

Definition at line 46 of file mongodb_log_pcl.cpp.

unsigned int in_counter

Definition at line 39 of file mongodb_log_pcl.cpp.

pthread_mutex_t in_counter_mutex = PTHREAD_MUTEX_INITIALIZER
static

Definition at line 44 of file mongodb_log_pcl.cpp.

DBClientConnection* mongodb_conn

Definition at line 36 of file mongodb_log_pcl.cpp.

unsigned int out_counter

Definition at line 40 of file mongodb_log_pcl.cpp.

pthread_mutex_t out_counter_mutex = PTHREAD_MUTEX_INITIALIZER
static

Definition at line 45 of file mongodb_log_pcl.cpp.

unsigned int qsize

Definition at line 41 of file mongodb_log_pcl.cpp.

pthread_mutex_t qsize_mutex = PTHREAD_MUTEX_INITIALIZER
static

Definition at line 47 of file mongodb_log_pcl.cpp.



mongodb_log
Author(s): Tim Niemueller
autogenerated on Sat Sep 7 2019 03:40:41