Public Slots | Public Member Functions | Private Types | Private Member Functions | Private Attributes
EventSlot Class Reference

#include <event_slot.h>

List of all members.

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

Detailed Description

Definition at line 23 of file event_slot.h.


Member Enumeration Documentation

enum EventSlot::Status [private]
Enumerator:
CANCELED 
WORKING 
SUCCESS 
FAIL 

Definition at line 25 of file event_slot.h.


Constructor & Destructor Documentation

Definition at line 4 of file event_slot.cpp.

Definition at line 148 of file event_slot.cpp.


Member Function Documentation

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.

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.


Member Data Documentation

QApplication* EventSlot::_app [private]

Definition at line 44 of file event_slot.h.

Definition at line 46 of file event_slot.h.

Definition at line 43 of file event_slot.h.

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.


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


robotican_gui
Author(s): eli
autogenerated on Tue Feb 21 2017 04:00:20