Clio develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
util::async::impl::BasicScheduledOperation< CtxType, OpType > Struct Template Reference
Inheritance diagram for util::async::impl::BasicScheduledOperation< CtxType, OpType >:
Collaboration diagram for util::async::impl::BasicScheduledOperation< CtxType, OpType >:

Classes

class  State
 

Public Member Functions

 BasicScheduledOperation (auto &executor, auto delay, auto &&fn)
 
 BasicScheduledOperation (BasicScheduledOperation const &)=default
 
BasicScheduledOperationoperator= (BasicScheduledOperation const &)=default
 
 BasicScheduledOperation (BasicScheduledOperation &&)=default
 
BasicScheduledOperationoperator= (BasicScheduledOperation &&)=default
 
auto get ()
 
void wait () noexcept
 
void cancel () noexcept
 
void requestStop () noexcept
 
void abort () noexcept
 
- Public Member Functions inherited from util::MoveTracker
 MoveTracker (MoveTracker &&other)
 Move constructor sets the moved-from state on other and resets the state on this
 
MoveTrackeroperator= (MoveTracker &&other)
 Move operator sets the moved-from state on other and resets the state on this
 
 MoveTracker (MoveTracker const &)=default
 
MoveTrackeroperator= (MoveTracker const &)=default
 

Public Attributes

std::shared_ptr< Statestate = std::make_shared<State>()
 
CtxType::Timer timer
 

Additional Inherited Members

- Protected Member Functions inherited from util::MoveTracker
bool wasMoved () const noexcept
 The function to be used by clients in order to check whether the instance was moved from.
 

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