##

MEUserCmdManager Class Reference

Class which manages user commands in the model editor. More...

`#include <MEUserCmdManager.hh>`

Inherits UserCmdHistory.

## Signals

void | StatsSignal ()

## Public Member Functions

| MEUserCmdManager ()
| Constructor. More...
virtual | ~MEUserCmdManager ()
| Destructor. More...
bool | Active () const
| Get whether the widget is active or not. More...
MEUserCmdPtr | NewCmd (const std::string &_description, const MEUserCmd::CmdType _type)
| Register that a new command has been executed by the user. More...
void | Reset ()
| Reset commands. More...
void | SetActive (const bool _active)
| Set whether the widget is active or not. More...

## Detailed Description

Class which manages user commands in the model editor.

It combines features of gui::UserCmdHistory and physics::UserCmdManager.

## Constructor & Destructor Documentation

## MEUserCmdManager()

MEUserCmdManager | ( |  | ) |

Constructor.

## ~MEUserCmdManager()

virtual ~MEUserCmdManager | ( |  | ) |

virtual

Destructor.

## Member Function Documentation

## Active()

bool Active | ( |  | ) | const

inherited

Get whether the widget is active or not.

Returns
  True if it is active.

## NewCmd()

MEUserCmdPtr NewCmd | ( | const std::string & | _description,
|  | const MEUserCmd::CmdType | _type
| ) |  |

Register that a new command has been executed by the user.

Parameters

  [in] | _description | Command description, to be displayed to the user.
  [in] | _type | Command type.

Returns
  Pointer to new command.

## Reset()

void Reset | ( |  | ) |

Reset commands.

## SetActive()

void SetActive | ( | const bool | _active | ) |

inherited

Set whether the widget is active or not.

Parameters

  [in] | _active | True to make it active.

## StatsSignal

void StatsSignal | ( |  | ) |

signal inherited

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

- MEUserCmdManager.hh