Signals | Public Member Functions | Private Slots | Private Attributes | List of all members
swri_profiler_tools::RosSource Class Reference

#include <ros_source.h>

Inheritance diagram for swri_profiler_tools::RosSource:
Inheritance graph
[legend]

Signals

void connected (bool connected, QString uri)
 

Public Member Functions

bool isConnected () const
 
const QString & masterUri () const
 
 RosSource (ProfileDatabase *db)
 
void start ()
 
 ~RosSource ()
 

Private Slots

void handleConnected (bool connected, QString uri)
 
void handleData (swri_profiler_msgs::ProfileDataArray msg)
 
void handleIndex (swri_profiler_msgs::ProfileIndexArray msg)
 

Private Attributes

RosSourceBackendbackend_
 
bool connected_
 
ProfileDatabasedb_
 
QString master_uri_
 
ProfilerMsgAdapter msg_adapter_
 
int profile_key_
 
QThread ros_thread_
 

Detailed Description

Definition at line 51 of file ros_source.h.

Constructor & Destructor Documentation

swri_profiler_tools::RosSource::RosSource ( ProfileDatabase db)

Definition at line 39 of file ros_source.cpp.

swri_profiler_tools::RosSource::~RosSource ( )

Definition at line 48 of file ros_source.cpp.

Member Function Documentation

void swri_profiler_tools::RosSource::connected ( bool  connected,
QString  uri 
)
signal
void swri_profiler_tools::RosSource::handleConnected ( bool  connected,
QString  uri 
)
privateslot

Definition at line 85 of file ros_source.cpp.

void swri_profiler_tools::RosSource::handleData ( swri_profiler_msgs::ProfileDataArray  msg)
privateslot

Definition at line 109 of file ros_source.cpp.

void swri_profiler_tools::RosSource::handleIndex ( swri_profiler_msgs::ProfileIndexArray  msg)
privateslot

Definition at line 104 of file ros_source.cpp.

bool swri_profiler_tools::RosSource::isConnected ( ) const
inline

Definition at line 59 of file ros_source.h.

const QString& swri_profiler_tools::RosSource::masterUri ( ) const
inline

Definition at line 60 of file ros_source.h.

void swri_profiler_tools::RosSource::start ( )

Definition at line 59 of file ros_source.cpp.

Member Data Documentation

RosSourceBackend* swri_profiler_tools::RosSource::backend_
private

Definition at line 76 of file ros_source.h.

bool swri_profiler_tools::RosSource::connected_
private

Definition at line 81 of file ros_source.h.

ProfileDatabase* swri_profiler_tools::RosSource::db_
private

Definition at line 73 of file ros_source.h.

QString swri_profiler_tools::RosSource::master_uri_
private

Definition at line 82 of file ros_source.h.

ProfilerMsgAdapter swri_profiler_tools::RosSource::msg_adapter_
private

Definition at line 78 of file ros_source.h.

int swri_profiler_tools::RosSource::profile_key_
private

Definition at line 79 of file ros_source.h.

QThread swri_profiler_tools::RosSource::ros_thread_
private

Definition at line 75 of file ros_source.h.


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


swri_profiler_tools
Author(s):
autogenerated on Fri Nov 27 2020 03:44:18