Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

LookoutSketchEvent Class Reference

#include <LookoutEvents.h>

Inheritance diagram for LookoutSketchEvent:

Detailed Description

Definition at line 55 of file LookoutEvents.h.

List of all members.

Public Member Functions

virtual LookoutEventType_t getLookoutEventType () const
 LookoutSketchEvent ()
 LookoutSketchEvent (bool _success, DualCoding::Sketch< DualCoding::uchar > &_img, const fmat::Transform &mat)
 LookoutSketchEvent (bool _success, DualCoding::Sketch< DualCoding::uchar > &_img, const fmat::Transform &mat, EventGeneratorID_t gid, size_t sid, EventTypeID_t tid, unsigned int dur=0)
 LookoutSketchEvent (bool _success, DualCoding::Sketch< DualCoding::uchar > &_img, const fmat::Transform &mat, EventGeneratorID_t gid, size_t sid, EventTypeID_t tid, unsigned int dur, const std::string &n, float mag)
 LookoutSketchEvent (const LookoutSketchEvent &other)
 copy constructor (shallow copy)
const DualCoding::Sketch
< DualCoding::uchar > & 
getSketch () const
virtual EventBaseclone () const
 allows a copy to be made of an event, supporting polymorphism
virtual unsigned int getClassTypeID () const
 All subclasses should override this and return a unique ID for their class.

Protected Attributes

DualCoding::Sketch
< DualCoding::uchar > 
img

Static Protected Attributes

static const
EventBase::classTypeID_t 
autoRegisterLookoutSketchEvent = getTypeRegistry().registerType<LookoutSketchEvent>(makeClassTypeID("LSKC"))
 causes class type id to automatically be regsitered with EventBase's FamilyFactory (getTypeRegistry())

Private Member Functions

LookoutSketchEventoperator= (const LookoutSketchEvent &)

Constructor & Destructor Documentation

LookoutSketchEvent::LookoutSketchEvent (  ) 

Definition at line 61 of file LookoutEvents.h.

Referenced by clone().

LookoutSketchEvent::LookoutSketchEvent ( bool  _success,
DualCoding::Sketch< DualCoding::uchar > &  _img,
const fmat::Transform mat 
)

Definition at line 62 of file LookoutEvents.h.

LookoutSketchEvent::LookoutSketchEvent ( bool  _success,
DualCoding::Sketch< DualCoding::uchar > &  _img,
const fmat::Transform mat,
EventGeneratorID_t  gid,
size_t  sid,
EventTypeID_t  tid,
unsigned int  dur = 0 
)

Definition at line 64 of file LookoutEvents.h.

LookoutSketchEvent::LookoutSketchEvent ( bool  _success,
DualCoding::Sketch< DualCoding::uchar > &  _img,
const fmat::Transform mat,
EventGeneratorID_t  gid,
size_t  sid,
EventTypeID_t  tid,
unsigned int  dur,
const std::string &  n,
float  mag 
)

Definition at line 67 of file LookoutEvents.h.

LookoutSketchEvent::LookoutSketchEvent ( const LookoutSketchEvent other  ) 

copy constructor (shallow copy)

Definition at line 72 of file LookoutEvents.h.


Member Function Documentation

virtual EventBase* LookoutSketchEvent::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 LookoutPointAtEvent.

Definition at line 76 of file LookoutEvents.h.

virtual unsigned int LookoutSketchEvent::getClassTypeID (  )  const [virtual]

All subclasses should override this and return a unique ID for their class.

All IDs corresponding to all-capital letters are reserved for future framework expansion. (Thus, user subclasses should contain at least one lower-case letter.) This code can be used when serializing to allow quick identification of the class type by the receiver.

Reimplemented from LookoutPointAtEvent.

Definition at line 79 of file LookoutEvents.h.

virtual LookoutEventType_t LookoutSketchEvent::getLookoutEventType (  )  const [virtual]

Reimplemented from LookoutPointAtEvent.

Definition at line 60 of file LookoutEvents.h.

const DualCoding::Sketch<DualCoding::uchar>& LookoutSketchEvent::getSketch (  )  const

Definition at line 75 of file LookoutEvents.h.

Referenced by DualCoding::MapBuilder::processImage().

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

Member Data Documentation

const EventBase::classTypeID_t LookoutSketchEvent::autoRegisterLookoutSketchEvent = getTypeRegistry().registerType<LookoutSketchEvent>(makeClassTypeID("LSKC")) [static, protected]

causes class type id to automatically be regsitered with EventBase's FamilyFactory (getTypeRegistry())

Definition at line 82 of file LookoutEvents.h.

Referenced by getClassTypeID().

DualCoding::Sketch<DualCoding::uchar> LookoutSketchEvent::img [protected]

Definition at line 57 of file LookoutEvents.h.

Referenced by getSketch().


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

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