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

Class encapsulating Raven Core startup and shutdown. More...

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

Public Slots

void initialize ()
 
void shutdown ()
 
void restart (QStringList args)
 

Signals

void initializeResult (bool success)
 
void shutdownResult (bool success)
 
void runawayException (const QString &message)
 

Public Member Functions

 RavenCore ()
 

Static Public Member Functions

static bool baseInitialize ()
 Basic initialization, before starting initialization/shutdown thread. More...
 

Private Member Functions

void handleRunawayException (const std::exception *e)
 Pass fatal exception message to UI thread. More...
 

Private Attributes

boost::thread_group threadGroup
 
CScheduler scheduler
 

Detailed Description

Class encapsulating Raven Core startup and shutdown.

Allows running startup and shutdown in a different thread from the UI thread.

Definition at line 182 of file raven.cpp.

Constructor & Destructor Documentation

◆ RavenCore()

RavenCore::RavenCore ( )
explicit

Definition at line 276 of file raven.cpp.

Member Function Documentation

◆ baseInitialize()

bool RavenCore::baseInitialize ( )
static

Basic initialization, before starting initialization/shutdown thread.

Return true on success.

Definition at line 287 of file raven.cpp.

Here is the call graph for this function:

◆ handleRunawayException()

void RavenCore::handleRunawayException ( const std::exception *  e)
private

Pass fatal exception message to UI thread.

Definition at line 281 of file raven.cpp.

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

◆ initialize

void RavenCore::initialize ( )
slot

Definition at line 308 of file raven.cpp.

Here is the call graph for this function:

◆ initializeResult

void RavenCore::initializeResult ( bool  success)
signal
Here is the caller graph for this function:

◆ restart

void RavenCore::restart ( QStringList  args)
slot

Definition at line 322 of file raven.cpp.

Here is the call graph for this function:

◆ runawayException

void RavenCore::runawayException ( const QString &  message)
signal
Here is the caller graph for this function:

◆ shutdown

void RavenCore::shutdown ( )
slot

Definition at line 349 of file raven.cpp.

Here is the call graph for this function:

◆ shutdownResult

void RavenCore::shutdownResult ( bool  success)
signal
Here is the caller graph for this function:

Member Data Documentation

◆ scheduler

CScheduler RavenCore::scheduler
private

Definition at line 204 of file raven.cpp.

◆ threadGroup

boost::thread_group RavenCore::threadGroup
private

Definition at line 203 of file raven.cpp.


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