Bitshares-Core  2.0.181105
BitShares blockchain implementation and command-line interface software
Public Types | Public Member Functions | List of all members
graphene::chain::worker_pay_visitor Struct Reference

A visitor for worker_type which calls pay_worker on the worker within. More...

Public Types

typedef void result_type
 

Public Member Functions

 worker_pay_visitor (share_type pay, database &db)
 
template<typename W >
void operator() (W &worker) const
 

Detailed Description

A visitor for worker_type which calls pay_worker on the worker within.

Definition at line 116 of file db_maint.cpp.

Member Typedef Documentation

◆ result_type

Definition at line 126 of file db_maint.cpp.

Constructor & Destructor Documentation

◆ worker_pay_visitor()

graphene::chain::worker_pay_visitor::worker_pay_visitor ( share_type  pay,
database db 
)
inline

Definition at line 123 of file db_maint.cpp.

Member Function Documentation

◆ operator()()

template<typename W >
void graphene::chain::worker_pay_visitor::operator() ( W &  worker) const
inline

Definition at line 128 of file db_maint.cpp.


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