Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

Class for handling RPC timers (used for e.g. More...

+ Inheritance diagram for QtRPCTimerBase:
+ Collaboration diagram for QtRPCTimerBase:

Public Member Functions

 QtRPCTimerBase (std::function< void(void)> &_func, int64_t millis)
 
 ~QtRPCTimerBase ()
 
- Public Member Functions inherited from RPCTimerBase
virtual ~RPCTimerBase ()
 

Private Slots

void timeout ()
 

Private Attributes

QTimer timer
 
std::function< void(void)> func
 

Detailed Description

Class for handling RPC timers (used for e.g.

re-locking the wallet after a timeout)

Definition at line 95 of file rpcconsole.cpp.

Constructor & Destructor Documentation

◆ QtRPCTimerBase()

QtRPCTimerBase::QtRPCTimerBase ( std::function< void(void)> &  _func,
int64_t  millis 
)
inline

Definition at line 99 of file rpcconsole.cpp.

References timeout(), and timer.

◆ ~QtRPCTimerBase()

QtRPCTimerBase::~QtRPCTimerBase ( )
inline

Definition at line 106 of file rpcconsole.cpp.

Member Function Documentation

◆ timeout

void QtRPCTimerBase::timeout ( )
inlineprivateslot

Definition at line 108 of file rpcconsole.cpp.

References func.

Referenced by QtRPCTimerBase().

Member Data Documentation

◆ func

std::function<void(void)> QtRPCTimerBase::func
private

Definition at line 111 of file rpcconsole.cpp.

Referenced by timeout().

◆ timer

QTimer QtRPCTimerBase::timer
private

Definition at line 110 of file rpcconsole.cpp.

Referenced by QtRPCTimerBase().


The documentation for this class was generated from the following file:
Released under the MIT license