Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
packml_stacklight::PackmlStacklight Class Reference

#include <packml_stacklight.h>

Public Member Functions

 PackmlStacklight (ros::NodeHandle nh, ros::NodeHandle pn)
 
void spin ()
 
void spinOnce ()
 
 ~PackmlStacklight ()
 

Protected Attributes

ros::NodeHandle nh_
 
ros::NodeHandle pn_
 
std::map< std::string, ros::Publisherpub_map_
 
ros::Subscriber status_sub_
 

Private Member Functions

void callBackStatus (const packml_msgs::StatusConstPtr &msg)
 
void processCurState ()
 
void setBoolParam (std::string param_name, bool &default_val)
 
void setDoubleParam (std::string param_name, double &default_val)
 

Private Attributes

packml_msgs::State current_state_
 
ros::Time current_state_time_
 
packml_stacklight::Utils utils_
 

Detailed Description

Definition at line 30 of file packml_stacklight.h.

Constructor & Destructor Documentation

packml_stacklight::PackmlStacklight::PackmlStacklight ( ros::NodeHandle  nh,
ros::NodeHandle  pn 
)

Definition at line 59 of file packml_stacklight.cpp.

packml_stacklight::PackmlStacklight::~PackmlStacklight ( )

Definition at line 84 of file packml_stacklight.cpp.

Member Function Documentation

void packml_stacklight::PackmlStacklight::callBackStatus ( const packml_msgs::StatusConstPtr &  msg)
private

Definition at line 92 of file packml_stacklight.cpp.

void packml_stacklight::PackmlStacklight::processCurState ( )
private

Definition at line 98 of file packml_stacklight.cpp.

void packml_stacklight::PackmlStacklight::setBoolParam ( std::string  param_name,
bool &  default_val 
)
private

Definition at line 41 of file packml_stacklight.cpp.

void packml_stacklight::PackmlStacklight::setDoubleParam ( std::string  param_name,
double &  default_val 
)
private

Definition at line 23 of file packml_stacklight.cpp.

void packml_stacklight::PackmlStacklight::spin ( )

Definition at line 134 of file packml_stacklight.cpp.

void packml_stacklight::PackmlStacklight::spinOnce ( )

Definition at line 143 of file packml_stacklight.cpp.

Member Data Documentation

packml_msgs::State packml_stacklight::PackmlStacklight::current_state_
private

Definition at line 39 of file packml_stacklight.h.

ros::Time packml_stacklight::PackmlStacklight::current_state_time_
private

Definition at line 41 of file packml_stacklight.h.

ros::NodeHandle packml_stacklight::PackmlStacklight::nh_
protected

Definition at line 33 of file packml_stacklight.h.

ros::NodeHandle packml_stacklight::PackmlStacklight::pn_
protected

Definition at line 34 of file packml_stacklight.h.

std::map<std::string, ros::Publisher> packml_stacklight::PackmlStacklight::pub_map_
protected

Definition at line 36 of file packml_stacklight.h.

ros::Subscriber packml_stacklight::PackmlStacklight::status_sub_
protected

Definition at line 35 of file packml_stacklight.h.

packml_stacklight::Utils packml_stacklight::PackmlStacklight::utils_
private

Definition at line 40 of file packml_stacklight.h.


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


packml_stacklight
Author(s): Joshua Hatzenbuehler
autogenerated on Fri Jul 12 2019 03:31:01