Go to the documentation of this file.
43 #include <rosgraph_msgs/Log.h>
49 : shutting_down_(false)
50 , disable_topics_(false)
79 rosgraph_msgs::LogPtr msg(boost::make_shared<rosgraph_msgs::Log>());
84 msg->level = rosgraph_msgs::Log::DEBUG;
88 msg->level = rosgraph_msgs::Log::INFO;
92 msg->level = rosgraph_msgs::Log::WARN;
96 msg->level = rosgraph_msgs::Log::ERROR;
100 msg->level = rosgraph_msgs::Log::FATAL;
105 msg->function =
function;
153 V_Log::iterator it = local_queue.begin();
154 V_Log::iterator end = local_queue.end();
155 for (; it != end; ++it)
boost::mutex queue_mutex_
boost::condition_variable queue_condition_
virtual void log(::ros::console::Level level, const char *str, const char *file, const char *function, int line)
Encapsulates all options available for creating a Publisher.
ROSCPP_DECL std::string resolve(const std::string &name, bool remap=true)
Resolve a graph resource name into a fully qualified graph resource name.
const std::string & getLastError() const
ROSCPP_DECL bool getCached(const std::string &key, std::string &s)
Get a string value from the parameter server, with local caching.
bool latch
Whether or not this publication should "latch". A latching publication will automatically send out th...
std::vector< rosgraph_msgs::LogPtr > V_Log
const ROSCPP_DECL std::string & getName()
Returns the name of the current node.
boost::thread publish_thread_
static const TopicManagerPtr & instance()
void init(const std::string &_topic, uint32_t _queue_size, const SubscriberStatusCallback &_connect_cb=SubscriberStatusCallback(), const SubscriberStatusCallback &_disconnect_cb=SubscriberStatusCallback())
templated helper function for automatically filling out md5sum, datatype and message definition
ROSCPP_DECL void getAdvertisedTopics(V_string &topics)
Get the list of topics advertised by this node.
roscpp
Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim, Dirk Thomas
, Jacob Perron
autogenerated on Sat Sep 14 2024 02:59:35