#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/dx100/p_var_q.h.
PVarQ::PVarQ | ( | MotoSocket * | sock, |
std::ofstream * | log_file | ||
) |
PVarQ::~PVarQ | ( | void | ) |
void PVarQ::addMessage | ( | int | command | ) | [protected] |
void PVarQ::addTraj | ( | const trajectory_msgs::JointTrajectory & | traj | ) |
void PVarQ::logMessage | ( | message | log_message, |
bool | is_send | ||
) | [protected] |
int PVarQ::recvMessage | ( | ) | [protected] |
void PVarQ::run | ( | ) |
int PVarQ::sendMessage | ( | ) | [protected] |
void PVarQ::sendTraj | ( | ) |
bool PVarQ::ack_received [protected] |
Definition at line 65 of file include/dx100/p_var_q.h.
std::ofstream* PVarQ::log_file [protected] |
Definition at line 60 of file include/dx100/p_var_q.h.
std::queue<message> PVarQ::messages [protected] |
Definition at line 58 of file include/dx100/p_var_q.h.
int PVarQ::num_traj_recv [protected] |
Definition at line 66 of file include/dx100/p_var_q.h.
int PVarQ::num_traj_send [protected] |
Definition at line 67 of file include/dx100/p_var_q.h.
MotoSocket* PVarQ::sock [protected] |
Definition at line 59 of file include/dx100/p_var_q.h.