Public Member Functions | Public Attributes | List of all members
Rosout Class Reference

Public Member Functions

void init ()
 Rosout ()
void rosoutCallback (const rosgraph_msgs::Log::ConstPtr &msg)

Public Attributes

ros::Publisher agg_pub_
size_t current_backup_index_
size_t current_file_size_
FILE * handle_
std::string log_file_name_
size_t max_backup_index_
size_t max_file_size_
ros::NodeHandle node_
ros::Subscriber rosout_sub_

Detailed Description

the rosout node subscribes to /rosout, logs the messages to file, and re-broadcasts the messages to /rosout_agg

Definition at line 57 of file rosout.cpp.

Constructor & Destructor Documentation

Rosout::Rosout ( )

Definition at line 70 of file rosout.cpp.

Member Function Documentation

void Rosout::init ( )

Definition at line 75 of file rosout.cpp.

void Rosout::rosoutCallback ( const rosgraph_msgs::Log::ConstPtr &  msg)

Definition at line 117 of file rosout.cpp.

Member Data Documentation

ros::Publisher Rosout::agg_pub_

Definition at line 68 of file rosout.cpp.

size_t Rosout::current_backup_index_

Definition at line 65 of file rosout.cpp.

size_t Rosout::current_file_size_

Definition at line 63 of file rosout.cpp.

FILE* Rosout::handle_

Definition at line 61 of file rosout.cpp.

std::string Rosout::log_file_name_

Definition at line 60 of file rosout.cpp.

size_t Rosout::max_backup_index_

Definition at line 64 of file rosout.cpp.

size_t Rosout::max_file_size_

Definition at line 62 of file rosout.cpp.

ros::NodeHandle Rosout::node_

Definition at line 66 of file rosout.cpp.

ros::Subscriber Rosout::rosout_sub_

Definition at line 67 of file rosout.cpp.

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

Author(s): Josh Faust, Dirk Thomas
autogenerated on Mon Nov 2 2020 03:52:35