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.
Loading...
Searching...
No Matches
MoveY Class Reference

Encapsulates vertical movement states and utility methods. More...

#include <move_types.h>

Inheritance diagram for MoveY:
MoveDirection< MoveYValue >

Public Member Functions

constexpr MoveY ()
 Default constructor initializing to None.
 
const char * to_string () const
 Converts the state to a human-readable string.
 
- Public Member Functions inherited from MoveDirection< MoveYValue >
constexpr MoveDirection (MoveYValue v)
 Construct a new Move Direction object.
 
bool is_none () const
 Checks if the movement state is None (0).
 
MoveYValue 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== (MoveYValue v) const
 Equality comparison with underlying enum.
 
bool operator!= (MoveYValue v) const
 Inequality comparison with underlying enum.
 

Static Public Attributes

static constexpr MoveYValue None = MoveYValue::None
 Local alias for None state.
 
static constexpr MoveYValue Up = MoveYValue::Up
 Local alias for Up state.
 
static constexpr MoveYValue Down = MoveYValue::Down
 Local alias for Down state.
 

Additional Inherited Members

- Protected Attributes inherited from MoveDirection< MoveYValue >
MoveYValue _value
 

Detailed Description

Encapsulates vertical movement states and utility methods.

Member Function Documentation

◆ to_string()

const char * MoveY::to_string ( ) const
inline

Converts the state to a human-readable string.

Returns
const char* "Up", "Down", or "None".

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