Numworks Epsilon  1.4.1
Graphing Calculator Operating System
App Class Reference

#include <app.h>

Inheritance diagram for App:
Responder Code::App HardwareTest::App Home::App OnBoarding::App PicViewApp Shared::TextFieldDelegateApp USB::App Calculation::App Probability::App Regression::App Settings::App Shared::FunctionApp Statistics::App Graph::App Sequence::App

Classes

class  Descriptor
 
class  Snapshot
 

Public Member Functions

virtual ~App ()=default
 
Snapshotsnapshot ()
 
void setFirstResponder (Responder *responder)
 
ResponderfirstResponder ()
 
virtual bool processEvent (Ion::Events::Event event)
 
void displayModalViewController (ViewController *vc, float verticalAlignment, float horizontalAlignment, KDCoordinate topMargin=0, KDCoordinate leftMargin=0, KDCoordinate bottomMargin=0, KDCoordinate rightMargin=0)
 
void dismissModalViewController ()
 
void displayWarning (I18n::Message warningMessage)
 
const Containercontainer () const
 
virtual void didBecomeActive (Window *window)
 
virtual void willBecomeInactive ()
 
ViewmodalView ()
 
virtual int numberOfTimers ()
 
virtual TimertimerAtIndex (int i)
 
- Public Member Functions inherited from Responder
 Responder (Responder *parentResponder)
 
virtual bool handleEvent (Ion::Events::Event event)
 
virtual void didBecomeFirstResponder ()
 
virtual void willResignFirstResponder ()
 
virtual void didEnterResponderChain (Responder *previousFirstResponder)
 
virtual void willExitResponderChain (Responder *nextFirstResponder)
 
ResponderparentResponder () const
 
RespondercommonAncestorWith (Responder *responder)
 
void setParentResponder (Responder *responder)
 
Appapp ()
 
virtual Toolboxtoolbox ()
 

Public Attributes

uint8_t m_magic
 

Static Public Attributes

static constexpr uint8_t Magic = 0xA8
 

Protected Member Functions

 App (Container *container, Snapshot *snapshot, ViewController *rootViewController, I18n::Message warningMessage=(I18n::Message) 0)
 

Protected Attributes

ModalViewController m_modalViewController
 

Detailed Description

Definition at line 23 of file app.h.

Constructor & Destructor Documentation

◆ ~App()

virtual App::~App ( )
virtualdefault

◆ App()

App::App ( Container container,
Snapshot snapshot,
ViewController rootViewController,
I18n::Message  warningMessage = (I18n::Message)0 
)
protected

Definition at line 30 of file app.cpp.

Member Function Documentation

◆ container()

const Container * App::container ( ) const

Definition at line 102 of file app.cpp.

◆ didBecomeActive()

void App::didBecomeActive ( Window window)
virtual

Reimplemented in OnBoarding::App.

Definition at line 106 of file app.cpp.

◆ dismissModalViewController()

void App::dismissModalViewController ( )

Definition at line 93 of file app.cpp.

◆ displayModalViewController()

void App::displayModalViewController ( ViewController vc,
float  verticalAlignment,
float  horizontalAlignment,
KDCoordinate  topMargin = 0,
KDCoordinate  leftMargin = 0,
KDCoordinate  bottomMargin = 0,
KDCoordinate  rightMargin = 0 
)

Definition at line 85 of file app.cpp.

◆ displayWarning()

void App::displayWarning ( I18n::Message  warningMessage)

Definition at line 97 of file app.cpp.

◆ firstResponder()

Responder * App::firstResponder ( )

Definition at line 58 of file app.cpp.

◆ modalView()

View * App::modalView ( )

Definition at line 122 of file app.cpp.

◆ numberOfTimers()

int App::numberOfTimers ( )
virtual

Reimplemented in HardwareTest::App, and OnBoarding::App.

Definition at line 126 of file app.cpp.

◆ processEvent()

bool App::processEvent ( Ion::Events::Event  event)
virtual

Reimplemented in HardwareTest::App, USB::App, and OnBoarding::App.

Definition at line 45 of file app.cpp.

◆ setFirstResponder()

void App::setFirstResponder ( Responder responder)

Definition at line 62 of file app.cpp.

◆ snapshot()

App::Snapshot * App::snapshot ( )

Definition at line 41 of file app.cpp.

◆ timerAtIndex()

Timer * App::timerAtIndex ( int  i)
virtual

Reimplemented in HardwareTest::App, and OnBoarding::App.

Definition at line 130 of file app.cpp.

◆ willBecomeInactive()

void App::willBecomeInactive ( )
virtual

Reimplemented in Shared::FunctionApp.

Definition at line 114 of file app.cpp.

Member Data Documentation

◆ m_magic

uint8_t App::m_magic

Definition at line 56 of file app.h.

◆ m_modalViewController

ModalViewController App::m_modalViewController
protected

Definition at line 65 of file app.h.

◆ Magic

constexpr uint8_t App::Magic = 0xA8
static

Definition at line 46 of file app.h.


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