Bitcoin Core 28.99.0
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
QtRPCTimerBase Class Reference

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

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

Public Member Functions

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

Private Attributes

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

Detailed Description

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

re-locking the wallet after a timeout)

Definition at line 107 of file rpcconsole.cpp.

Constructor & Destructor Documentation

◆ QtRPCTimerBase()

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

Definition at line 111 of file rpcconsole.cpp.

◆ ~QtRPCTimerBase()

QtRPCTimerBase::~QtRPCTimerBase ( )
default

Member Data Documentation

◆ func

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

Definition at line 121 of file rpcconsole.cpp.

◆ timer

QTimer QtRPCTimerBase::timer
private

Definition at line 120 of file rpcconsole.cpp.


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