event-driven
|
an event with a pixel location, camera number and polarity More...
#include <vCodec.h>
Public Member Functions | |
AddressEvent (const vEvent &v) | |
AddressEvent (const AddressEvent &v) | |
virtual event | clone () |
virtual void | encode (yarp::os::Bottle &b) const |
virtual void | encode (std::vector< int32_t > &b, unsigned int &pos) const |
virtual bool | decode (const yarp::os::Bottle &packet, size_t &pos) |
virtual void | decode (const int32_t *&data) |
virtual yarp::os::Property | getContent () const |
virtual std::string | getType () const |
virtual int | getChannel () const |
virtual void | setChannel (const int channel) |
Public Member Functions inherited from ev::vEvent | |
virtual void | setChannel () |
Public Attributes | |
union { | |
uint32_t _coded_data | |
struct { | |
unsigned int polarity:1 | |
unsigned int x:9 | |
unsigned int _xfill:2 | |
unsigned int y:8 | |
unsigned int _yfill:2 | |
unsigned int channel:1 | |
unsigned int type:1 | |
unsigned int skin:1 | |
unsigned int _fill:7 | |
} | |
}; | |
Public Attributes inherited from ev::vEvent | |
unsigned int | stamp:31 |
Static Public Attributes | |
static const std::string | tag = "AE" |
Static Public Attributes inherited from ev::vEvent | |
static const std::string | tag = "TS" |
an event with a pixel location, camera number and polarity