|
Smart Camera ESP32
An AI-driven, real-time Sentry Turret platform leveraging asynchronous I/O and computer vision to deliver high-precision autonomous motion tracking on resource-constrained embedded hardware.
|
Base template providing common logic for movement directions. More...
#include <move_types.h>
Public Member Functions | |
| constexpr | MoveDirection (EnumType v) |
| Construct a new Move Direction object. | |
| bool | is_none () const |
| Checks if the movement state is None (0). | |
| EnumType | get_value () const |
| Gets the underlying enum value. | |
| bool | operator! () const |
| Logical NOT operator. | |
| operator uint8_t () const | |
| Implicit conversion to uint8_t for hardware drivers. | |
| bool | operator== (EnumType v) const |
| Equality comparison with underlying enum. | |
| bool | operator!= (EnumType v) const |
| Inequality comparison with underlying enum. | |
Protected Attributes | |
| EnumType | _value |
Base template providing common logic for movement directions.
| EnumType | The axis-specific enum (MoveXValue or MoveYValue). |
|
inlineconstexpr |
Construct a new Move Direction object.
| v | The initial enum value. |
|
inline |
Gets the underlying enum value.
|
inline |
Checks if the movement state is None (0).
|
inline |
Implicit conversion to uint8_t for hardware drivers.
|
inline |
Logical NOT operator.
|
inline |
Inequality comparison with underlying enum.
| v | Value to compare. |
|
inline |
Equality comparison with underlying enum.
| v | Value to compare. |
|
protected |
Internal storage of the movement state.