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

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]_descriptionCommand description, to be displayed to the user.
[in]_typeCommand 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]_activeTrue to make it active.

◆ StatsSignal

void StatsSignal ( )
signalinherited

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