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


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 ( )

Definition at line 41 of file integer_action.cpp.

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

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:

Author(s): Dave Hershberger, David Gossow, Josh Faust
autogenerated on Wed Aug 28 2019 04:01:53