Signals | Public Member Functions | Public Attributes | Private Slots
rviz::IntegerAction Class Reference

#include <integer_action.h>

List of all members.

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 ( ) [private, slot]

Definition at line 41 of file integer_action.cpp.

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

Member Data Documentation

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 Thu Jun 6 2019 18:02:17