Signals | Public Member Functions | Public Attributes | Private Slots | List of all members
rviz::IntegerAction Class Reference

#include <integer_action.h>

Inheritance diagram for rviz::IntegerAction:
Inheritance graph
[legend]

Signals

void triggered (int id)
 

Public Member Functions

 IntegerAction (const QString &text, QObject *parent, int id)
 

Public Attributes

int id_
 

Private Slots

void emitId ()
 

Detailed Description

A simple subclass of QAction which keeps an ID number and emits a signal with that number when it is triggered.

Definition at line 40 of file integer_action.h.

Constructor & Destructor Documentation

rviz::IntegerAction::IntegerAction ( const QString &  text,
QObject *  parent,
int  id 
)

Definition at line 34 of file integer_action.cpp.

Member Function Documentation

void rviz::IntegerAction::emitId ( )
privateslot

Definition at line 41 of file integer_action.cpp.

void rviz::IntegerAction::triggered ( int  id)
signal

Member Data Documentation

int rviz::IntegerAction::id_

Definition at line 45 of file integer_action.h.


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


rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust
autogenerated on Sat Apr 27 2019 02:33:43