2 #ifndef _TRANSPORT_ROSBRIDGE_H_
3 #define _TRANSPORT_ROSBRIDGE_H_
5 #include "madara/transport/Transport.h"
6 #include "madara/threads/Threader.h"
30 madara::transport::TransportSettings & new_settings,
31 madara::knowledge::KnowledgeBase & context,
32 std::vector<std::string> topics,
33 std::map<std::string, std::string> topic_map,
34 std::map<std::string, std::string> pub_topic_types);
48 long send_data(
const madara::knowledge::KnowledgeMap & modifieds);
67 const char * container_name);
A custom read thread generated by gpc.pl.
Custom network transport generated by gpc.pl.
gams::utility::ros::GamsParser * parser_
virtual ~RosBridge()
Destructor.
madara::threads::Threader read_threads_
threads for monitoring knowledge updates
RosBridge(const std::string &id, madara::transport::TransportSettings &new_settings, madara::knowledge::KnowledgeBase &context, std::vector< std::string > topics, std::map< std::string, std::string > topic_map, std::map< std::string, std::string > pub_topic_types)
Constructor.
std::pair< std::string, std::string > get_update_container_pair_(const char *container_name)
long send_data(const madara::knowledge::KnowledgeMap &modifieds)
Sends a list of updates to the domain.
RosBridgeReadThread * read_thread_
unsigned int in_message_count()
unsigned int message_count_
std::vector< std::string > topics_
unsigned int out_message_count()
std::map< std::string, std::string > topic_map_
std::map< std::string, std::string > pub_topic_types_
Contains all GAMS-related tools, classes and code.