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 39 of file integer_action.h.

Constructor & Destructor Documentation

◆ IntegerAction()

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

Definition at line 33 of file integer_action.cpp.

Member Function Documentation

◆ emitId

void rviz::IntegerAction::emitId ( )
privateslot

Definition at line 39 of file integer_action.cpp.

◆ triggered

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

Member Data Documentation

◆ id_

int rviz::IntegerAction::id_

Definition at line 44 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 May 27 2023 02:06:26