Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

GrasperEvent Class Reference

Event for reporting the results of a Grasper operation. More...

#include <GrasperEvent.h>

Inheritance diagram for GrasperEvent:

Detailed Description

Event for reporting the results of a Grasper operation.

Definition at line 11 of file GrasperEvent.h.

List of all members.

Public Member Functions

virtual bool getSuccess () const
virtual
GrasperRequest::GrasperRequestType_t 
getRequestType () const
virtual
GrasperRequest::GrasperErrorType_t 
getErrorType () const
 GrasperEvent ()
 Constructors.
 GrasperEvent (bool _success, EventGeneratorID_t gid, size_t sid, EventTypeID_t tid, unsigned int dur=0)
 GrasperEvent (bool _success, EventGeneratorID_t gid, size_t sid, EventTypeID_t tid, unsigned int dur, const std::string &n, float mag)
 GrasperEvent (bool _success, GrasperRequest::GrasperRequestType_t grqt, EventGeneratorID_t gid, size_t sid, EventTypeID_t tid, unsigned int dur=0)
 GrasperEvent (bool _success, GrasperRequest::GrasperRequestType_t grqt, GrasperRequest::GrasperErrorType_t grst, size_t sid)
virtual EventBaseclone () const
 allows a copy to be made of an event, supporting polymorphism
 GrasperEvent (const GrasperEvent &other)

Public Attributes

bool success
std::vector
< GrasperRequest::NodeValue_t
path
Point suggestedRobotLocation
Point suggestedLookAtPoint
GrasperRequest::GrasperRequestType_t requestType
GrasperRequest::GrasperErrorType_t errorType

Private Member Functions

GrasperEventoperator= (const GrasperEvent &)

Constructor & Destructor Documentation

GrasperEvent::GrasperEvent (  ) 

Constructors.

Definition at line 26 of file GrasperEvent.h.

Referenced by clone().

GrasperEvent::GrasperEvent ( bool  _success,
EventGeneratorID_t  gid,
size_t  sid,
EventTypeID_t  tid,
unsigned int  dur = 0 
)

Definition at line 28 of file GrasperEvent.h.

GrasperEvent::GrasperEvent ( bool  _success,
EventGeneratorID_t  gid,
size_t  sid,
EventTypeID_t  tid,
unsigned int  dur,
const std::string &  n,
float  mag 
)

Definition at line 30 of file GrasperEvent.h.

GrasperEvent::GrasperEvent ( bool  _success,
GrasperRequest::GrasperRequestType_t  grqt,
EventGeneratorID_t  gid,
size_t  sid,
EventTypeID_t  tid,
unsigned int  dur = 0 
)

Definition at line 33 of file GrasperEvent.h.

GrasperEvent::GrasperEvent ( bool  _success,
GrasperRequest::GrasperRequestType_t  grqt,
GrasperRequest::GrasperErrorType_t  grst,
size_t  sid 
)

Definition at line 39 of file GrasperEvent.h.

GrasperEvent::GrasperEvent ( const GrasperEvent other  ) 

Definition at line 44 of file GrasperEvent.h.


Member Function Documentation

virtual EventBase* GrasperEvent::clone (  )  const [virtual]

allows a copy to be made of an event, supporting polymorphism

Must be overridden by all subclasses to allow this to happen

I would like to switch this over to the cloneable interface once the compiler gets updated out of the 3.3 branch... see Cloneable::clone() for a discussion of the issue and implementation notes.

Reimplemented from EventBase.

Definition at line 42 of file GrasperEvent.h.

virtual GrasperRequest::GrasperErrorType_t GrasperEvent::getErrorType (  )  const [virtual]

Definition at line 23 of file GrasperEvent.h.

Referenced by GrasperTrans::doEvent(), and GrasperNode::doEvent().

virtual GrasperRequest::GrasperRequestType_t GrasperEvent::getRequestType (  )  const [virtual]

Definition at line 22 of file GrasperEvent.h.

virtual bool GrasperEvent::getSuccess (  )  const [virtual]

Definition at line 21 of file GrasperEvent.h.

GrasperEvent& GrasperEvent::operator= ( const GrasperEvent  )  [private]

Member Data Documentation

Definition at line 14 of file GrasperEvent.h.

Referenced by getSuccess().

Definition at line 17 of file GrasperEvent.h.

Definition at line 16 of file GrasperEvent.h.


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

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:09 2016 by Doxygen 1.6.3