Public Types | Public Member Functions | Private Attributes
mrta::Log Class Reference

#include <log.h>

List of all members.

Public Types

enum  Severity {
  Debug, Info, Warn, Error,
  Fatal
}
enum  Type { Robot, Task, Allocation }

Public Member Functions

QString getId () const
Severity getSeverity () const
int getState () const
ros::Time getTimestamp () const
Type getType () const
 Log (History *history, const ros::Time &timestamp, Type type, Severity severity, const QString &id, int state)
 Log (const Log &log)
const char * toCString () const
QString toString () const
virtual ~Log ()

Private Attributes

QString id_
Severity severity_
int state_
ros::Time timestamp_
Type type_

Detailed Description

Definition at line 10 of file log.h.


Member Enumeration Documentation

Enumerator:
Debug 
Info 
Warn 
Error 
Fatal 

Definition at line 20 of file log.h.

Enumerator:
Robot 
Task 
Allocation 

Definition at line 14 of file log.h.


Constructor & Destructor Documentation

mrta::Log::Log ( History history,
const ros::Time timestamp,
Log::Type  type,
Severity  severity,
const QString &  id,
int  state 
)

Definition at line 7 of file log.cpp.

mrta::Log::Log ( const Log log)

Definition at line 14 of file log.cpp.

mrta::Log::~Log ( ) [virtual]

Definition at line 20 of file log.cpp.


Member Function Documentation

QString mrta::Log::getId ( ) const

Definition at line 31 of file log.cpp.

Definition at line 29 of file log.cpp.

int mrta::Log::getState ( ) const

Definition at line 33 of file log.cpp.

Definition at line 25 of file log.cpp.

Definition at line 27 of file log.cpp.

const char * mrta::Log::toCString ( ) const

Definition at line 42 of file log.cpp.

QString mrta::Log::toString ( ) const

Definition at line 35 of file log.cpp.


Member Data Documentation

QString mrta::Log::id_ [private]

Definition at line 44 of file log.h.

Definition at line 43 of file log.h.

int mrta::Log::state_ [private]

Definition at line 45 of file log.h.

Definition at line 41 of file log.h.

Definition at line 42 of file log.h.


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


rqt_mrta
Author(s): Adriano Henrique Rossette Leite
autogenerated on Thu Jun 6 2019 18:50:53