Raven Core  3.0.0
P2P Digital Currency
Public Slots | Signals | Public Member Functions | Private Member Functions | Private Attributes | List of all members
RavenApplication Class Reference

Main Raven application object. More...

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

Public Slots

void initializeResult (bool success)
 
void shutdownResult (bool success)
 
void handleRunawayException (const QString &message)
 Handle runaway exceptions. Shows a message box with the problem and quits the program. More...
 

Signals

void requestedInitialize ()
 
void requestedRestart (QStringList args)
 
void requestedShutdown ()
 
void stopThread ()
 
void splashFinished (QWidget *window)
 

Public Member Functions

 RavenApplication (int &argc, char **argv)
 
 ~RavenApplication ()
 
void parameterSetup ()
 parameter interaction/setup based on rules More...
 
void createOptionsModel (bool resetSettings)
 Create options model. More...
 
void createWindow (const NetworkStyle *networkStyle)
 Create main window. More...
 
void createSplashScreen (const NetworkStyle *networkStyle)
 Create splash screen. More...
 
void requestInitialize ()
 Request core initialization. More...
 
void requestShutdown ()
 Request core shutdown. More...
 
int getReturnValue () const
 Get process return value. More...
 
WId getMainWinId () const
 Get window identifier of QMainWindow (RavenGUI) More...
 
OptionsModelgetOptionsModel () const
 

Private Member Functions

void startThread ()
 

Private Attributes

QThread * coreThread
 
OptionsModeloptionsModel
 
ClientModelclientModel
 
RavenGUIwindow
 
QTimer * pollShutdownTimer
 
int returnValue
 
const PlatformStyleplatformStyle
 
std::unique_ptr< QWidget > shutdownWindow
 

Detailed Description

Main Raven application object.

Definition at line 211 of file raven.cpp.

Constructor & Destructor Documentation

◆ RavenApplication()

RavenApplication::RavenApplication ( int &  argc,
char **  argv 
)
explicit

Definition at line 366 of file raven.cpp.

Here is the call graph for this function:

◆ ~RavenApplication()

RavenApplication::~RavenApplication ( )

Definition at line 392 of file raven.cpp.

Member Function Documentation

◆ createOptionsModel()

void RavenApplication::createOptionsModel ( bool  resetSettings)

Create options model.

Definition at line 421 of file raven.cpp.

◆ createSplashScreen()

void RavenApplication::createSplashScreen ( const NetworkStyle networkStyle)

Create splash screen.

Definition at line 437 of file raven.cpp.

◆ createWindow()

void RavenApplication::createWindow ( const NetworkStyle networkStyle)

Create main window.

Definition at line 426 of file raven.cpp.

◆ getMainWinId()

WId RavenApplication::getMainWinId ( ) const

Get window identifier of QMainWindow (RavenGUI)

Definition at line 580 of file raven.cpp.

◆ getOptionsModel()

OptionsModel* RavenApplication::getOptionsModel ( ) const
inline

Definition at line 242 of file raven.cpp.

Here is the call graph for this function:

◆ getReturnValue()

int RavenApplication::getReturnValue ( ) const
inline

Get process return value.

Definition at line 237 of file raven.cpp.

◆ handleRunawayException

void RavenApplication::handleRunawayException ( const QString &  message)
slot

Handle runaway exceptions. Shows a message box with the problem and quits the program.

Definition at line 574 of file raven.cpp.

Here is the caller graph for this function:

◆ initializeResult

void RavenApplication::initializeResult ( bool  success)
slot

Definition at line 509 of file raven.cpp.

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

◆ parameterSetup()

void RavenApplication::parameterSetup ( )

parameter interaction/setup based on rules

Definition at line 469 of file raven.cpp.

Here is the call graph for this function:

◆ requestedInitialize

void RavenApplication::requestedInitialize ( )
signal
Here is the caller graph for this function:

◆ requestedRestart

void RavenApplication::requestedRestart ( QStringList  args)
signal
Here is the caller graph for this function:

◆ requestedShutdown

void RavenApplication::requestedShutdown ( )
signal
Here is the caller graph for this function:

◆ requestInitialize()

void RavenApplication::requestInitialize ( )

Request core initialization.

Definition at line 475 of file raven.cpp.

Here is the call graph for this function:

◆ requestShutdown()

void RavenApplication::requestShutdown ( )

Request core shutdown.

Definition at line 482 of file raven.cpp.

Here is the call graph for this function:

◆ shutdownResult

void RavenApplication::shutdownResult ( bool  success)
slot

Definition at line 567 of file raven.cpp.

Here is the caller graph for this function:

◆ splashFinished

void RavenApplication::splashFinished ( QWidget *  window)
signal
Here is the caller graph for this function:

◆ startThread()

void RavenApplication::startThread ( )
private

Definition at line 447 of file raven.cpp.

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

◆ stopThread

void RavenApplication::stopThread ( )
signal
Here is the caller graph for this function:

Member Data Documentation

◆ clientModel

ClientModel* RavenApplication::clientModel
private

Definition at line 260 of file raven.cpp.

◆ coreThread

QThread* RavenApplication::coreThread
private

Definition at line 258 of file raven.cpp.

◆ optionsModel

OptionsModel* RavenApplication::optionsModel
private

Definition at line 259 of file raven.cpp.

◆ platformStyle

const PlatformStyle* RavenApplication::platformStyle
private

Definition at line 268 of file raven.cpp.

◆ pollShutdownTimer

QTimer* RavenApplication::pollShutdownTimer
private

Definition at line 262 of file raven.cpp.

◆ returnValue

int RavenApplication::returnValue
private

Definition at line 267 of file raven.cpp.

◆ shutdownWindow

std::unique_ptr<QWidget> RavenApplication::shutdownWindow
private

Definition at line 269 of file raven.cpp.

◆ window

RavenGUI* RavenApplication::window
private

Definition at line 261 of file raven.cpp.


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