Rise
The Vieneo Province
Loading...
Searching...
No Matches
WaypointProtocol::FolderOrder Class Reference

#include <WaypointProtocol.h>

Collaboration diagram for WaypointProtocol::FolderOrder:
[legend]

Public Types

using SavedState = std::array<unsigned char, 4 + MAX_TAB>

Public Member Functions

 FolderOrder ()
int Group (short tab) const
short Tab (unsigned char group) const
bool CanRemove (short tab, short count, const std::vector< Swaypoint > &waypoints) const
bool Remove (short tab, short count, const std::vector< Swaypoint > &waypoints)
SavedState Save () const
bool Load (const SavedState &saved)

Private Attributes

std::array< unsigned char, MAX_TAB > groups {}

Detailed Description

Definition at line 29 of file WaypointProtocol.h.

Member Typedef Documentation

◆ SavedState

using WaypointProtocol::FolderOrder::SavedState = std::array<unsigned char, 4 + MAX_TAB>

Definition at line 32 of file WaypointProtocol.h.

Constructor & Destructor Documentation

◆ FolderOrder()

WaypointProtocol::FolderOrder::FolderOrder ( )
inline

Definition at line 34 of file WaypointProtocol.h.

Here is the caller graph for this function:

Member Function Documentation

◆ CanRemove()

bool WaypointProtocol::FolderOrder::CanRemove ( short tab,
short count,
const std::vector< Swaypoint > & waypoints ) const
inline

Definition at line 49 of file WaypointProtocol.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Group()

int WaypointProtocol::FolderOrder::Group ( short tab) const
inline

Definition at line 40 of file WaypointProtocol.h.

Here is the caller graph for this function:

◆ Load()

bool WaypointProtocol::FolderOrder::Load ( const SavedState & saved)
inline

Definition at line 75 of file WaypointProtocol.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Remove()

bool WaypointProtocol::FolderOrder::Remove ( short tab,
short count,
const std::vector< Swaypoint > & waypoints )
inline

Definition at line 58 of file WaypointProtocol.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Save()

SavedState WaypointProtocol::FolderOrder::Save ( ) const
inline

Definition at line 68 of file WaypointProtocol.h.

Here is the caller graph for this function:

◆ Tab()

short WaypointProtocol::FolderOrder::Tab ( unsigned char group) const
inline

Definition at line 42 of file WaypointProtocol.h.

Here is the caller graph for this function:

Member Data Documentation

◆ groups

std::array<unsigned char, MAX_TAB> WaypointProtocol::FolderOrder::groups {}
private

Definition at line 92 of file WaypointProtocol.h.


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