xrpld
Loading...
Searching...
No Matches
xrpl::test::csf::Validations_test::Adaptor Class Reference
Collaboration diagram for xrpl::test::csf::Validations_test::Adaptor:

Classes

struct  Mutex

Public Types

using Validation = csf::Validation
using Ledger = csf::Ledger

Public Member Functions

 Adaptor (clock_type &c, LedgerOracle &o)
NetClock::time_point now () const
std::optional< Ledgeracquire (Ledger::ID const &id)

Private Attributes

clock_typec_
LedgerOracleoracle_

Detailed Description

Definition at line 147 of file Validations_test.cpp.

Member Typedef Documentation

◆ Validation

◆ Ledger

Constructor & Destructor Documentation

◆ Adaptor()

xrpl::test::csf::Validations_test::Adaptor::Adaptor ( clock_type & c,
LedgerOracle & o )

Definition at line 170 of file Validations_test.cpp.

Member Function Documentation

◆ now()

NetClock::time_point xrpl::test::csf::Validations_test::Adaptor::now ( ) const
nodiscard

Definition at line 175 of file Validations_test.cpp.

◆ acquire()

std::optional< Ledger > xrpl::test::csf::Validations_test::Adaptor::acquire ( Ledger::ID const & id)

Definition at line 181 of file Validations_test.cpp.

Member Data Documentation

◆ c_

clock_type& xrpl::test::csf::Validations_test::Adaptor::c_
private

Definition at line 149 of file Validations_test.cpp.

◆ oracle_

LedgerOracle& xrpl::test::csf::Validations_test::Adaptor::oracle_
private

Definition at line 150 of file Validations_test.cpp.