Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
sysio::chain::transaction_checktime_timer Struct Reference

#include <transaction_context.hpp>

Public Member Functions

 transaction_checktime_timer ()=delete
 
 transaction_checktime_timer (const transaction_checktime_timer &)=delete
 
 transaction_checktime_timer (transaction_checktime_timer &&)=default
 
 transaction_checktime_timer (platform_timer &timer)
 
 ~transaction_checktime_timer ()
 
void start (fc::time_point tp)
 
void stop ()
 
void set_expiration_callback (void(*func)(void *), void *user)
 

Public Attributes

std::atomic_bool & expired
 

Detailed Description

Definition at line 9 of file transaction_context.hpp.

Constructor & Destructor Documentation

◆ transaction_checktime_timer() [1/4]

sysio::chain::transaction_checktime_timer::transaction_checktime_timer ( )
delete

◆ transaction_checktime_timer() [2/4]

sysio::chain::transaction_checktime_timer::transaction_checktime_timer ( const transaction_checktime_timer & )
delete

◆ transaction_checktime_timer() [3/4]

sysio::chain::transaction_checktime_timer::transaction_checktime_timer ( transaction_checktime_timer && )
default

◆ transaction_checktime_timer() [4/4]

sysio::chain::transaction_checktime_timer::transaction_checktime_timer ( platform_timer & timer)

Definition at line 25 of file transaction_context.cpp.

26 : expired(timer.expired), _timer(timer) {
27 expired = 0;
28 }

◆ ~transaction_checktime_timer()

sysio::chain::transaction_checktime_timer::~transaction_checktime_timer ( )

Definition at line 42 of file transaction_context.cpp.

42 {
43 stop();
44 _timer.set_expiration_callback(nullptr, nullptr);
45 }
void set_expiration_callback(void(*func)(void *), void *user)
Here is the call graph for this function:

Member Function Documentation

◆ set_expiration_callback()

void sysio::chain::transaction_checktime_timer::set_expiration_callback ( void(* func )(void *),
void * user )

Definition at line 38 of file transaction_context.cpp.

38 {
39 _timer.set_expiration_callback(func, user);
40 }
Here is the call graph for this function:

◆ start()

void sysio::chain::transaction_checktime_timer::start ( fc::time_point tp)

Definition at line 30 of file transaction_context.cpp.

30 {
31 _timer.start(tp);
32 }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ stop()

void sysio::chain::transaction_checktime_timer::stop ( )

Definition at line 34 of file transaction_context.cpp.

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

Member Data Documentation

◆ expired

std::atomic_bool& sysio::chain::transaction_checktime_timer::expired

Definition at line 25 of file transaction_context.hpp.


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