Public Types | Signals | Public Member Functions | Private Attributes | List of all members
s::QNode Class Reference

#include <qnode.hpp>

Inheritance diagram for s::QNode:
Inheritance graph
[legend]

Public Types

enum  LogLevel {
  Debug, Info, Warn, Error,
  Fatal
}
 

Signals

void loggingUpdated ()
 
void rosShutdown ()
 

Public Member Functions

bool init ()
 
bool init (const std::string &master_url, const std::string &host_url)
 
void log (const LogLevel &level, const std::string &msg)
 
QStringListModel * loggingModel ()
 
 QNode (int argc, char **argv)
 
void run ()
 
virtual ~QNode ()
 

Private Attributes

ros::Publisher chatter_publisher
 
int init_argc
 
char ** init_argv
 
QStringListModel logging_model
 

Detailed Description

Definition at line 39 of file qnode.hpp.

Member Enumeration Documentation

Enumerator
Debug 
Info 
Warn 
Error 
Fatal 

Definition at line 51 of file qnode.hpp.

Constructor & Destructor Documentation

s::QNode::QNode ( int  argc,
char **  argv 
)

Definition at line 30 of file qnode.cpp.

s::QNode::~QNode ( )
virtual

Definition at line 35 of file qnode.cpp.

Member Function Documentation

bool s::QNode::init ( )

Definition at line 43 of file qnode.cpp.

bool s::QNode::init ( const std::string &  master_url,
const std::string &  host_url 
)

Definition at line 56 of file qnode.cpp.

void s::QNode::log ( const LogLevel level,
const std::string &  msg 
)

Definition at line 92 of file qnode.cpp.

QStringListModel* s::QNode::loggingModel ( )
inline

Definition at line 59 of file qnode.hpp.

void s::QNode::loggingUpdated ( )
signal
void s::QNode::rosShutdown ( )
signal
void s::QNode::run ( )

Definition at line 72 of file qnode.cpp.

Member Data Documentation

ros::Publisher s::QNode::chatter_publisher
private

Definition at line 69 of file qnode.hpp.

int s::QNode::init_argc
private

Definition at line 67 of file qnode.hpp.

char** s::QNode::init_argv
private

Definition at line 68 of file qnode.hpp.

QStringListModel s::QNode::logging_model
private

Definition at line 70 of file qnode.hpp.


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


qt_create
Author(s): Daniel Stonier
autogenerated on Wed Mar 11 2020 03:12:19