Public Types | Signals | Public Member Functions | Private Attributes | List of all members
rh_p12_rn_gui::QNode Class Reference

#include <qnode.hpp>

Inheritance diagram for rh_p12_rn_gui::QNode:
Inheritance graph
[legend]

Public Types

enum  LogLevel {
  Debug, Info, Warn, Error,
  Fatal
}
 

Signals

void loggingUpdated ()
 
void refreshValue (int pos, int curr)
 
void rosShutdown ()
 

Public Member Functions

uint32_t getItemValue (std::string item_name)
 
bool init ()
 
void log (const LogLevel &level, const std::string &msg)
 
QStringListModel * loggingModel ()
 
 QNode (int argc, char **argv)
 
void run ()
 
void setCtrlItem (const robotis_controller_msgs::SyncWriteItem &msg)
 
void setPosition (const robotis_controller_msgs::SyncWriteItem &msg)
 
virtual ~QNode ()
 

Private Attributes

ros::ServiceClient get_item_value_client_
 
int init_argc
 
char ** init_argv
 
QStringListModel logging_model
 
ros::Publisher sync_write_item_pub_
 
ros::Publisher sync_write_position_pub_
 

Detailed Description

Definition at line 51 of file qnode.hpp.

Member Enumeration Documentation

Enumerator
Debug 
Info 
Warn 
Error 
Fatal 

Definition at line 62 of file qnode.hpp.

Constructor & Destructor Documentation

rh_p12_rn_gui::QNode::QNode ( int  argc,
char **  argv 
)

Definition at line 38 of file qnode.cpp.

rh_p12_rn_gui::QNode::~QNode ( )
virtual

Definition at line 43 of file qnode.cpp.

Member Function Documentation

uint32_t rh_p12_rn_gui::QNode::getItemValue ( std::string  item_name)

Definition at line 95 of file qnode.cpp.

bool rh_p12_rn_gui::QNode::init ( )

Definition at line 53 of file qnode.cpp.

void rh_p12_rn_gui::QNode::log ( const LogLevel level,
const std::string &  msg 
)

Definition at line 107 of file qnode.cpp.

QStringListModel* rh_p12_rn_gui::QNode::loggingModel ( )
inline

Definition at line 70 of file qnode.hpp.

void rh_p12_rn_gui::QNode::loggingUpdated ( )
signal
void rh_p12_rn_gui::QNode::refreshValue ( int  pos,
int  curr 
)
signal
void rh_p12_rn_gui::QNode::rosShutdown ( )
signal
void rh_p12_rn_gui::QNode::run ( )

Definition at line 69 of file qnode.cpp.

void rh_p12_rn_gui::QNode::setCtrlItem ( const robotis_controller_msgs::SyncWriteItem &  msg)

Definition at line 85 of file qnode.cpp.

void rh_p12_rn_gui::QNode::setPosition ( const robotis_controller_msgs::SyncWriteItem &  msg)

Definition at line 90 of file qnode.cpp.

Member Data Documentation

ros::ServiceClient rh_p12_rn_gui::QNode::get_item_value_client_
private

Definition at line 91 of file qnode.hpp.

int rh_p12_rn_gui::QNode::init_argc
private

Definition at line 84 of file qnode.hpp.

char** rh_p12_rn_gui::QNode::init_argv
private

Definition at line 85 of file qnode.hpp.

QStringListModel rh_p12_rn_gui::QNode::logging_model
private

Definition at line 86 of file qnode.hpp.

ros::Publisher rh_p12_rn_gui::QNode::sync_write_item_pub_
private

Definition at line 88 of file qnode.hpp.

ros::Publisher rh_p12_rn_gui::QNode::sync_write_position_pub_
private

Definition at line 89 of file qnode.hpp.


The documentation for this class was generated from the following files:


rh_p12_rn_gui
Author(s): Zerom
autogenerated on Mon Jun 10 2019 14:42:12