$search
#include <p_var_q.h>
Classes | |
struct | message |
Public Member Functions | |
void | addTraj (const trajectory_msgs::JointTrajectory &traj) |
PVarQ (MotoSocket *sock, std::ofstream *log_file) | |
void | run () |
void | sendTraj () |
~PVarQ (void) | |
Protected Member Functions | |
void | addMessage (int command) |
void | logMessage (message log_message, bool is_send) |
int | recvMessage () |
int | sendMessage () |
Protected Attributes | |
bool | ack_received |
std::ofstream * | log_file |
std::queue< message > | messages |
int | num_traj_recv |
int | num_traj_send |
MotoSocket * | sock |
Definition at line 43 of file include/p_var_q.h.
PVarQ::PVarQ | ( | MotoSocket * | sock, | |
std::ofstream * | log_file | |||
) |
PVarQ::~PVarQ | ( | void | ) |
Definition at line 50 of file src/p_var_q.cpp.
void PVarQ::addMessage | ( | int | command | ) | [protected] |
Definition at line 124 of file src/p_var_q.cpp.
void PVarQ::addTraj | ( | const trajectory_msgs::JointTrajectory & | traj | ) |
Definition at line 55 of file src/p_var_q.cpp.
void PVarQ::logMessage | ( | message | log_message, | |
bool | is_send | |||
) | [protected] |
Definition at line 162 of file src/p_var_q.cpp.
int PVarQ::recvMessage | ( | ) | [protected] |
Definition at line 146 of file src/p_var_q.cpp.
void PVarQ::run | ( | void | ) |
Definition at line 184 of file src/p_var_q.cpp.
int PVarQ::sendMessage | ( | ) | [protected] |
Definition at line 133 of file src/p_var_q.cpp.
void PVarQ::sendTraj | ( | ) |
Definition at line 93 of file src/p_var_q.cpp.
bool PVarQ::ack_received [protected] |
Definition at line 60 of file include/p_var_q.h.
std::ofstream* PVarQ::log_file [protected] |
Definition at line 55 of file include/p_var_q.h.
std::queue<message> PVarQ::messages [protected] |
Definition at line 53 of file include/p_var_q.h.
int PVarQ::num_traj_recv [protected] |
Definition at line 61 of file include/p_var_q.h.
int PVarQ::num_traj_send [protected] |
Definition at line 62 of file include/p_var_q.h.
MotoSocket* PVarQ::sock [protected] |
Definition at line 54 of file include/p_var_q.h.