Rise
The Vieneo Province
Loading...
Searching...
No Matches
WaypointDialog Class Reference

#include <WaypointDialog.h>

Inheritance diagram for WaypointDialog:
[legend]
Collaboration diagram for WaypointDialog:
[legend]

Public Member Functions

 WaypointDialog (short id)
void DragDropItem (short destTab) override
void ClearEdit () override
void Sort ()
void UpdateMenu (short tab) override
void TabClick (short clicked_tab)
bool canEditField (int field) override
void ActiveTab ()
void InvalidateWaypoints ()
short TabForGroup (unsigned char group) const
void ActivateWaypoint ()
void Update () override
void ActionIconClick (long icon_id) override
void DoubleClickLine () override
Public Member Functions inherited from DialogBase
 DialogBase (short id)
virtual void UpdateAvailability ()
virtual const wchar_t * Title () const
virtual void Draw (RiseMath::Vector3 *tracked)
virtual void Close (bool minimize)
void PopUpDialog ()

Static Public Member Functions

static void CALLBACK DialogCallback (UINT nEvent, int nControlID, RiseControl *pControl, void *pUserContext)
Static Public Member Functions inherited from DialogBase
static void Initialize (HMI *gui)
static void DrawAllActiveDialogs (float fElapsedTime)
static void UpdateAllActiveDialogs (float fElapsedTime)
static void IconClick (short icon_id)
static void CheckDialogMouse ()
static bool DraggingItem (short t, short s)
static void BringToFront (short t)
static void SortDialogs ()
static void OnDeviceReset ()
static bool OnEnter ()
static void UpdateScrollBar (short t)
static short CheckWidth (short dialogid)
static short CheckHeight (short t)
static void InitializeDialog (short t)

Public Attributes

std::vector< Swaypoint > filteredWaypoints
WaypointProtocol::FolderOrder folderOrder
Public Attributes inherited from DialogBase
short fields
bool showfields
bool allowresize
bool allowmove
bool allowclose
bool allowscroll
short fieldwidth [MAX_FIELDS]
short fieldtype [MAX_FIELDS]
short fieldcontent [MAX_FIELDS]
short actions
short action [MAX_ACTION]
short tabusedefaultlang [MAX_TAB]
short defaultwidth
short defaultheight
RiseMath::Vector3 windowdefaultlocation
short icon
RECT iconsource
bool normalinterlace
short dockedto
bool usesHUD
RiseMath::Vector3 windowlocation
short width
short height
short tabs
short activetab
WCHAR tabstr [MAX_TAB][MAX_TAB_CHARS]
short sortfield
char sortdirection
RiseMath::Vector3 windowseeklocation
short text
long layer
bool enabled
bool active
short linedsp
int linetot
int linecursel
int lineact
int linetop
short scrollbarheight
short scrollbartop
short actionsvisible
short actionoffset
bool actionenabled [MAX_ACTION]
bool actiontoggle [MAX_ACTION]
float actionslider
long editfield
long editline
long edittab
char msgbarcolor
WCHAR msgbartext [HELP_SIZE]
unsigned short clipboardrecord
char clipboardsourcetab
short tabflash [MAX_TAB]
short tabwidth [MAX_TAB]
short tabx [MAX_TAB]
WCHAR tabeffectivestr [MAX_TAB][MAX_TAB_CHARS]
WCHAR fieldeffectivetitle [MAX_FIELDS][HELP_SIZE]
short fieldeffectivewidth [MAX_FIELDS]
short fieldx [MAX_FIELDS]
WCHAR fieldline [MAX_LINES][MAX_FIELDS][HELP_SIZE]
WCHAR fieldeffectiveline [MAX_LINES][MAX_FIELDS][HELP_SIZE]
bool fieldsortable [MAX_FIELDS]
RiseDialog HUD
short dialogid
bool minimized = false

Private Member Functions

bool CanRemoveFolder () const

Private Attributes

bool waypointsDirty = true
waypoints * ptrWaypoints
Bus * ptrBus
Viewscreen * ptrViewscreen

Additional Inherited Members

Static Public Attributes inherited from DialogBase
static DialogBase * dialogs [D_ENUMERATION]
static HMI * gui = nullptr
static Logger * logger = nullptr
static short draworder [D_ENUMERATION]
Static Protected Member Functions inherited from DialogBase
static void CheckMoved (short t)

Detailed Description

Definition at line 9 of file WaypointDialog.h.

Constructor & Destructor Documentation

◆ WaypointDialog()

WaypointDialog::WaypointDialog ( short id)

Definition at line 9 of file WaypointDialog.cpp.

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

Member Function Documentation

◆ ActionIconClick()

void WaypointDialog::ActionIconClick ( long icon_id)
overridevirtual

Reimplemented from DialogBase.

Definition at line 576 of file WaypointDialog.cpp.

Here is the call graph for this function:

◆ ActivateWaypoint()

void WaypointDialog::ActivateWaypoint ( )
Todo
I suppose if we keep seeing this just log the error in trace ... I turned off the activate button by default maybe that will make this go away

Definition at line 528 of file WaypointDialog.cpp.

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

◆ ActiveTab()

void WaypointDialog::ActiveTab ( )
virtual

Reimplemented from DialogBase.

Definition at line 500 of file WaypointDialog.cpp.

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

◆ canEditField()

bool WaypointDialog::canEditField ( int field)
overridevirtual

Reimplemented from DialogBase.

Definition at line 492 of file WaypointDialog.cpp.

◆ CanRemoveFolder()

bool WaypointDialog::CanRemoveFolder ( ) const
private

Definition at line 522 of file WaypointDialog.cpp.

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

◆ ClearEdit()

void WaypointDialog::ClearEdit ( )
overridevirtual

Reimplemented from DialogBase.

Definition at line 748 of file WaypointDialog.cpp.

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

◆ DialogCallback()

void CALLBACK WaypointDialog::DialogCallback ( UINT nEvent,
int nControlID,
RiseControl * pControl,
void * pUserContext )
static

Definition at line 86 of file WaypointDialog.cpp.

Here is the caller graph for this function:

◆ DoubleClickLine()

void WaypointDialog::DoubleClickLine ( )
overridevirtual

Reimplemented from DialogBase.

Definition at line 742 of file WaypointDialog.cpp.

Here is the call graph for this function:

◆ DragDropItem()

void WaypointDialog::DragDropItem ( short destTab)
overridevirtual

Reimplemented from DialogBase.

Definition at line 830 of file WaypointDialog.cpp.

Here is the call graph for this function:

◆ InvalidateWaypoints()

void WaypointDialog::InvalidateWaypoints ( )

Definition at line 512 of file WaypointDialog.cpp.

Here is the caller graph for this function:

◆ Sort()

void WaypointDialog::Sort ( )

Definition at line 766 of file WaypointDialog.cpp.

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

◆ TabClick()

void WaypointDialog::TabClick ( short clicked_tab)
virtual

Reimplemented from DialogBase.

Definition at line 465 of file WaypointDialog.cpp.

Here is the call graph for this function:

◆ TabForGroup()

short WaypointDialog::TabForGroup ( unsigned char group) const

Definition at line 517 of file WaypointDialog.cpp.

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

◆ Update()

void WaypointDialog::Update ( )
overridevirtual

Reimplemented from DialogBase.

Definition at line 890 of file WaypointDialog.cpp.

Here is the call graph for this function:

◆ UpdateMenu()

void WaypointDialog::UpdateMenu ( short tab)
overridevirtual
Todo
could allow them to mark when they are in another vehicle that is on the ground?
Bug
https://jira.risetvp.com/view.php?id=692

Reimplemented from DialogBase.

Definition at line 238 of file WaypointDialog.cpp.

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

Member Data Documentation

◆ filteredWaypoints

std::vector<Swaypoint> WaypointDialog::filteredWaypoints

Definition at line 31 of file WaypointDialog.h.

◆ folderOrder

WaypointProtocol::FolderOrder WaypointDialog::folderOrder

Definition at line 32 of file WaypointDialog.h.

◆ ptrBus

Bus* WaypointDialog::ptrBus
private

Definition at line 38 of file WaypointDialog.h.

◆ ptrViewscreen

Viewscreen* WaypointDialog::ptrViewscreen
private

Definition at line 39 of file WaypointDialog.h.

◆ ptrWaypoints

waypoints* WaypointDialog::ptrWaypoints
private

Definition at line 37 of file WaypointDialog.h.

◆ waypointsDirty

bool WaypointDialog::waypointsDirty = true
private

Definition at line 36 of file WaypointDialog.h.


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