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

#include <Instrument.h>

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

Public Member Functions

 CargoManagement (int prmX, int prmY, float prmXScale, float prmYScale, Bus *prmBus, Logger *prmLogger, DeviceObject *prmDevice, std::vector< Font * > prmFonts, int height)
void Render () override
bool HandleKeyPress (short key, bool shift) override
bool UpdateKeyRepeat (const unsigned char *keys, bool shift, float elapsed) override
void OnPageChanged () override
Public Member Functions inherited from Instrument
 Instrument (int prmX, int prmY, float prmXScale, float prmYScale, Bus *prmBus, Logger *prmLogger, DeviceObject *prmDevice, std::vector< Font * > prmFonts)
void DrawText (const WCHAR *str, int relativeX, int relativeY, float prmZ, int flags, RiseMath::Color color, int font=-1, std::string elementName="", int width=0, int height=0) const
virtual void FrameMove (float fElapsed)

Private Attributes

CargoManifestList manifest

Additional Inherited Members

Public Attributes inherited from Instrument
std::string profileName = "Instrument"
Protected Attributes inherited from Instrument
int x = 0
int y = 0
float xScale = 1.0f
float yScale = 1.0f
DeviceObject * pDevice = nullptr
Bus * bus = nullptr
Logger * logger = nullptr
UINT defaultFont = 0
bool cacheFixedText = false
int uiRow = 0
bool showMenu = false
int uiMenuColumn = -1

Detailed Description

Definition at line 115 of file Instrument.h.

Constructor & Destructor Documentation

◆ CargoManagement()

CargoManagement::CargoManagement ( int prmX,
int prmY,
float prmXScale,
float prmYScale,
Bus * prmBus,
Logger * prmLogger,
DeviceObject * prmDevice,
std::vector< Font * > prmFonts,
int height )

Definition at line 6 of file CargoManagement.cpp.

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

Member Function Documentation

◆ HandleKeyPress()

bool CargoManagement::HandleKeyPress ( short key,
bool shift )
overridevirtual
Todo
need to make sure bay doors are open

Reimplemented from Instrument.

Definition at line 591 of file CargoManagement.cpp.

Here is the call graph for this function:

◆ OnPageChanged()

void CargoManagement::OnPageChanged ( )
inlineoverridevirtual

Reimplemented from Instrument.

Definition at line 127 of file Instrument.h.

◆ Render()

void CargoManagement::Render ( )
overridevirtual
Todo
look at maybe aggregating lines where if we have lock pick SETS we show (2) like old inventory manager
Todo
look at maybe aggregating lines where if we have lock pick SETS we show (2) like old inventory manager

Implements Instrument.

Definition at line 13 of file CargoManagement.cpp.

Here is the call graph for this function:

◆ UpdateKeyRepeat()

bool CargoManagement::UpdateKeyRepeat ( const unsigned char * keys,
bool shift,
float elapsed )
inlineoverridevirtual

Reimplemented from Instrument.

Definition at line 123 of file Instrument.h.

Member Data Documentation

◆ manifest

CargoManifestList CargoManagement::manifest
private

Definition at line 117 of file Instrument.h.


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