Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

LookoutSketchEvent Class Reference

#include <LookoutEvents.h>

Inheritance diagram for LookoutSketchEvent:

List of all members.


Detailed Description

Definition at line 55 of file LookoutEvents.h.


Public Member Functions

virtual LookoutEventType_t getLookoutEventType () const
 LookoutSketchEvent ()
 LookoutSketchEvent (bool _success, DualCoding::Sketch< DualCoding::uchar > &_img, const NEWMAT::Matrix &mat)
 LookoutSketchEvent (bool _success, DualCoding::Sketch< DualCoding::uchar > &_img, const NEWMAT::Matrix &mat, EventGeneratorID_t gid, size_t sid, EventTypeID_t tid, unsigned int dur=0)
 LookoutSketchEvent (bool _success, DualCoding::Sketch< DualCoding::uchar > &_img, const NEWMAT::Matrix &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 (  )  [inline]

Definition at line 61 of file LookoutEvents.h.

Referenced by clone().

LookoutSketchEvent::LookoutSketchEvent ( bool  _success,
DualCoding::Sketch< DualCoding::uchar > &  _img,
const NEWMAT::Matrix mat 
) [inline]

Definition at line 62 of file LookoutEvents.h.

LookoutSketchEvent::LookoutSketchEvent ( bool  _success,
DualCoding::Sketch< DualCoding::uchar > &  _img,
const NEWMAT::Matrix mat,
EventGeneratorID_t  gid,
size_t  sid,
EventTypeID_t  tid,
unsigned int  dur = 0 
) [inline]

Definition at line 64 of file LookoutEvents.h.

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

Definition at line 67 of file LookoutEvents.h.

LookoutSketchEvent::LookoutSketchEvent ( const LookoutSketchEvent other  )  [inline]

copy constructor (shallow copy)

Definition at line 72 of file LookoutEvents.h.


Member Function Documentation

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

Reimplemented from LookoutPointAtEvent.

Definition at line 60 of file LookoutEvents.h.

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

Definition at line 75 of file LookoutEvents.h.

virtual EventBase* LookoutSketchEvent::clone (  )  const [inline, 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 [inline, 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.

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


Member Data Documentation

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

Definition at line 57 of file LookoutEvents.h.

Referenced by getSketch().

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().


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

Tekkotsu v4.0
Generated Thu Nov 22 00:58:30 2007 by Doxygen 1.5.4