#include <event_slot.h>
Public Slots | |
void | closeApp () |
void | moveArmToDrive () |
void | moveArmToPreset () |
void | setBatPwr (int val) |
void | setLed (long int val, Led *led) |
void | setMoveState (Status state) |
Public Member Functions | |
EventSlot () | |
void | initiate (Ui::MainWindow &guiHandle, QApplication &app) |
void | moveArm () |
~EventSlot () | |
Private Types | |
enum | Status { CANCELED, WORKING, SUCCESS, FAIL } |
Private Member Functions | |
double | calcTimeOut (long int startTime, long int endTime) |
bool | execMove () |
Private Attributes | |
QApplication * | _app |
ArmMove * | _arm |
Ui::MainWindow * | _guiHandle |
ros::NodeHandle | _nHandle |
std::string | _targetName |
std::string | _userMsg |
Definition at line 23 of file event_slot.h.
enum EventSlot::Status [private] |
Definition at line 25 of file event_slot.h.
Definition at line 4 of file event_slot.cpp.
Definition at line 148 of file event_slot.cpp.
double EventSlot::calcTimeOut | ( | long int | startTime, |
long int | endTime | ||
) | [private] |
Definition at line 140 of file event_slot.cpp.
void EventSlot::closeApp | ( | ) | [slot] |
Definition at line 89 of file event_slot.cpp.
bool EventSlot::execMove | ( | ) | [private] |
Definition at line 123 of file event_slot.cpp.
void EventSlot::initiate | ( | Ui::MainWindow & | guiHandle, |
QApplication & | app | ||
) |
Definition at line 6 of file event_slot.cpp.
void EventSlot::moveArm | ( | ) |
Definition at line 94 of file event_slot.cpp.
void EventSlot::moveArmToDrive | ( | ) | [slot] |
Definition at line 108 of file event_slot.cpp.
void EventSlot::moveArmToPreset | ( | ) | [slot] |
Definition at line 115 of file event_slot.cpp.
void EventSlot::setBatPwr | ( | int | val | ) | [slot] |
Definition at line 25 of file event_slot.cpp.
void EventSlot::setLed | ( | long int | val, |
Led * | led | ||
) | [slot] |
Definition at line 73 of file event_slot.cpp.
void EventSlot::setMoveState | ( | Status | state | ) | [slot] |
Definition at line 30 of file event_slot.cpp.
QApplication* EventSlot::_app [private] |
Definition at line 44 of file event_slot.h.
ArmMove* EventSlot::_arm [private] |
Definition at line 46 of file event_slot.h.
Ui::MainWindow* EventSlot::_guiHandle [private] |
Definition at line 43 of file event_slot.h.
ros::NodeHandle EventSlot::_nHandle [private] |
Definition at line 45 of file event_slot.h.
std::string EventSlot::_targetName [private] |
Definition at line 47 of file event_slot.h.
std::string EventSlot::_userMsg [private] |
Definition at line 48 of file event_slot.h.