CARLA
Public Member Functions | Public Attributes | List of all members
carla::sensor::data::DVSEvent Struct Reference

#include <DVSEvent.h>

+ Collaboration diagram for carla::sensor::data::DVSEvent:

Public Member Functions

 DVSEvent ()=default
 Default constructor. More...
 
 DVSEvent (const DVSEvent &arg)
 Copy Constructor. More...
 
 DVSEvent (const DVSEvent &&arg)
 Moving constructor. More...
 
 DVSEvent (std::uint16_t x, std::uint16_t y, std::int64_t t, bool pol)
 Constructor. More...
 
bool operator!= (const DVSEvent &rhs) const
 
DVSEventoperator= (const DVSEvent &other)
 Assignement operator. More...
 
DVSEventoperator= (const DVSEvent &&other)
 Move Assignement operator. More...
 
bool operator== (const DVSEvent &rhs) const
 

Public Attributes

bool pol
 
std::int64_t t
 
std::uint16_t x
 
std::uint16_t y
 

Detailed Description

Definition at line 16 of file DVSEvent.h.

Constructor & Destructor Documentation

◆ DVSEvent() [1/4]

carla::sensor::data::DVSEvent::DVSEvent ( )
default

Default constructor.

◆ DVSEvent() [2/4]

carla::sensor::data::DVSEvent::DVSEvent ( const DVSEvent arg)
inline

Copy Constructor.

Definition at line 21 of file DVSEvent.h.

◆ DVSEvent() [3/4]

carla::sensor::data::DVSEvent::DVSEvent ( const DVSEvent &&  arg)
inline

Moving constructor.

Definition at line 25 of file DVSEvent.h.

◆ DVSEvent() [4/4]

carla::sensor::data::DVSEvent::DVSEvent ( std::uint16_t  x,
std::uint16_t  y,
std::int64_t  t,
bool  pol 
)
inline

Constructor.

Definition at line 32 of file DVSEvent.h.

Member Function Documentation

◆ operator!=()

bool carla::sensor::data::DVSEvent::operator!= ( const DVSEvent rhs) const
inline

Definition at line 57 of file DVSEvent.h.

◆ operator=() [1/2]

DVSEvent& carla::sensor::data::DVSEvent::operator= ( const DVSEvent other)
inline

Assignement operator.

Definition at line 36 of file DVSEvent.h.

References pol, t, x, and y.

◆ operator=() [2/2]

DVSEvent& carla::sensor::data::DVSEvent::operator= ( const DVSEvent &&  other)
inline

Move Assignement operator.

Definition at line 45 of file DVSEvent.h.

References pol, t, x, and y.

◆ operator==()

bool carla::sensor::data::DVSEvent::operator== ( const DVSEvent rhs) const
inline

Definition at line 53 of file DVSEvent.h.

References pol, t, x, and y.

Member Data Documentation

◆ pol

bool carla::sensor::data::DVSEvent::pol

◆ t

std::int64_t carla::sensor::data::DVSEvent::t

Definition at line 63 of file DVSEvent.h.

Referenced by operator=(), and operator==().

◆ x

std::uint16_t carla::sensor::data::DVSEvent::x

◆ y

std::uint16_t carla::sensor::data::DVSEvent::y

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