Macros | Typedefs | Functions | Variables
server_client_test.cpp File Reference
#include <ros/ros.h>
#include <ros/console.h>
#include <gtest/gtest.h>
#include <tf/transform_listener.h>
#include <interactive_markers/interactive_marker_server.h>
#include <interactive_markers/interactive_marker_client.h>
#include <chrono>
#include <thread>
Include dependency graph for server_client_test.cpp:

Go to the source code of this file.

Macros

#define DBG_MSG(...)   printf( __VA_ARGS__ ); printf("\n");
 
#define DBG_MSG_STREAM(...)   std::cout << __VA_ARGS__ << std::endl;
 

Typedefs

typedef visualization_msgs::InteractiveMarkerInitConstPtr InitConstPtr
 
typedef visualization_msgs::InteractiveMarkerUpdateConstPtr UpdateConstPtr
 

Functions

void initCb (const InitConstPtr &msg)
 
int main (int argc, char **argv)
 
void resetCb (const std::string &server_id)
 
void resetReceivedMsgs ()
 
void statusCb (InteractiveMarkerClient::StatusT status, const std::string &server_id, const std::string &msg)
 
 TEST (InteractiveMarkerServerAndClient, connect_tf_error)
 
void updateCb (const UpdateConstPtr &msg)
 
void waitMsg ()
 

Variables

int init_calls
 
InitConstPtr init_msg
 
int reset_calls
 
std::string reset_server_id
 
int status_calls
 
int update_calls
 
UpdateConstPtr update_msg
 

Macro Definition Documentation

◆ DBG_MSG

#define DBG_MSG (   ...)    printf( __VA_ARGS__ ); printf("\n");

Definition at line 44 of file server_client_test.cpp.

◆ DBG_MSG_STREAM

#define DBG_MSG_STREAM (   ...)    std::cout << __VA_ARGS__ << std::endl;

Definition at line 45 of file server_client_test.cpp.

Typedef Documentation

◆ InitConstPtr

typedef visualization_msgs::InteractiveMarkerInitConstPtr InitConstPtr

Definition at line 57 of file server_client_test.cpp.

◆ UpdateConstPtr

typedef visualization_msgs::InteractiveMarkerUpdateConstPtr UpdateConstPtr

Definition at line 58 of file server_client_test.cpp.

Function Documentation

◆ initCb()

void initCb ( const InitConstPtr msg)

Definition at line 81 of file server_client_test.cpp.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 248 of file server_client_test.cpp.

◆ resetCb()

void resetCb ( const std::string &  server_id)

Definition at line 97 of file server_client_test.cpp.

◆ resetReceivedMsgs()

void resetReceivedMsgs ( )

Definition at line 63 of file server_client_test.cpp.

◆ statusCb()

void statusCb ( InteractiveMarkerClient::StatusT  status,
const std::string &  server_id,
const std::string &  msg 
)

Definition at line 88 of file server_client_test.cpp.

◆ TEST()

TEST ( InteractiveMarkerServerAndClient  ,
connect_tf_error   
)

Definition at line 113 of file server_client_test.cpp.

◆ updateCb()

void updateCb ( const UpdateConstPtr msg)

Definition at line 74 of file server_client_test.cpp.

◆ waitMsg()

void waitMsg ( )

Definition at line 104 of file server_client_test.cpp.

Variable Documentation

◆ init_calls

int init_calls

Definition at line 50 of file server_client_test.cpp.

◆ init_msg

InitConstPtr init_msg

Definition at line 60 of file server_client_test.cpp.

◆ reset_calls

int reset_calls

Definition at line 51 of file server_client_test.cpp.

◆ reset_server_id

std::string reset_server_id

Definition at line 55 of file server_client_test.cpp.

◆ status_calls

int status_calls

Definition at line 52 of file server_client_test.cpp.

◆ update_calls

int update_calls

Definition at line 49 of file server_client_test.cpp.

◆ update_msg

UpdateConstPtr update_msg

Definition at line 61 of file server_client_test.cpp.



interactive_markers
Author(s): David Gossow, William Woodall
autogenerated on Mon Feb 28 2022 22:33:22