FilterBankEvent.hGo to the documentation of this file.00001
00002 #ifndef INCLUDED_FilterBankEvent_h_
00003 #define INCLUDED_FilterBankEvent_h_
00004
00005 #include "Events/EventBase.h"
00006 #include "Vision/FilterBankGenerator.h"
00007
00008
00009 class FilterBankEvent : public EventBase {
00010 public:
00011
00012 FilterBankEvent(FilterBankGenerator* creator,EventBase::EventGeneratorID_t gid,unsigned int sid)
00013 : EventBase(gid,sid,EventBase::statusETID,0,creator->getName(),1), src(creator)
00014 {}
00015
00016
00017 inline FilterBankGenerator* getSource() const { return src; }
00018
00019
00020 inline unsigned int getNumLayers() const { return src->getNumLayers(); }
00021
00022
00023 inline unsigned int getNumChannels() const { return src->getNumChannels(); }
00024
00025
00026
00027 inline unsigned char * getImage(unsigned int layer, unsigned int channel) const { return src->getImage(layer,channel); }
00028
00029
00030 inline unsigned int getWidth(unsigned int layer) const { return src->getWidth(layer); }
00031
00032 inline unsigned int getHeight(unsigned int layer) const { return src->getHeight(layer); }
00033
00034 inline unsigned int getSkip(unsigned int layer) const { return src->getSkip(layer); }
00035
00036
00037 inline unsigned int getStride(unsigned int layer) const { return src->getStride(layer); }
00038
00039 inline unsigned int getIncrement(unsigned int layer) const { return src->getIncrement(layer); }
00040
00041
00042 inline unsigned int getFrameNumber() const { return src->getFrameNumber(); }
00043
00044 inline unsigned int getFramesProcessed() const { return src->getFramesProcessed(); }
00045
00046 protected:
00047
00048
00049 FilterBankGenerator* src;
00050
00051 private:
00052 FilterBankEvent(const FilterBankEvent& fbk);
00053 const FilterBankEvent& operator=(const FilterBankEvent& fbk);
00054 };
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067 #endif
|