![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Gamepad manager. More...
#include <ccGamepadManager.h>


Public Member Functions | |
| ccGamepadManager (ecvMainAppInterface *appInterface, QObject *parent) | |
| ~ccGamepadManager () | |
| QMenu * | menu () |
| Returns the menu associated with gamepads. More... | |
Protected Member Functions | |
| void | enableDevice (bool state, bool silent, int deviceID=-1) |
| void | releaseDevice () |
| void | showMessage (QString message, bool asWarning) |
| void | setupMenu () |
| void | setupGamepadInput () |
| void | onGamepadInput () |
Gamepad manager.
Definition at line 39 of file ccGamepadManager.h.
| ccGamepadManager::ccGamepadManager | ( | ecvMainAppInterface * | appInterface, |
| QObject * | parent | ||
| ) |
Definition at line 20 of file ccGamepadManager.cpp.
References enableDevice(), setupGamepadInput(), and setupMenu().
| ccGamepadManager::~ccGamepadManager | ( | ) |
Definition at line 35 of file ccGamepadManager.cpp.
References releaseDevice().
|
protected |
Definition at line 51 of file ccGamepadManager.cpp.
References ccPickOneElementDlg::addElement(), ecvMainAppInterface::getMainWindow(), ccPickOneElementDlg::getSelectedIndex(), name, CVLog::Print(), setupGamepadInput(), showMessage(), GamepadInput::start(), GamepadInput::stop(), and CVLog::Warning().
Referenced by ccGamepadManager(), setupGamepadInput(), and setupMenu().
|
inline |
Returns the menu associated with gamepads.
Definition at line 47 of file ccGamepadManager.h.
|
protected |
Definition at line 233 of file ccGamepadManager.cpp.
References ecvMainAppInterface::getMainWindow(), and GamepadInput::update().
Referenced by setupGamepadInput().
|
protected |
Definition at line 140 of file ccGamepadManager.cpp.
References GamepadInput::stop().
Referenced by ~ccGamepadManager().
|
protected |
Definition at line 150 of file ccGamepadManager.cpp.
References ecvMainAppInterface::decreasePointSize(), enableDevice(), ecvMainAppInterface::increasePointSize(), onGamepadInput(), CVLog::Print(), ecvMainAppInterface::setGlobalZoom(), showMessage(), ecvMainAppInterface::toggleActiveWindowCenteredPerspective(), ecvMainAppInterface::toggleActiveWindowViewerBasedPerspective(), and GamepadInput::updated().
Referenced by ccGamepadManager(), and enableDevice().
|
protected |
Definition at line 216 of file ccGamepadManager.cpp.
References enableDevice().
Referenced by ccGamepadManager().
|
protected |
Definition at line 43 of file ccGamepadManager.cpp.
References CVLog::Error(), and CVLog::Warning().
Referenced by enableDevice(), and setupGamepadInput().