#include <register.h>
◆ Register()
encrypto::motion::Register::Register |
( |
std::shared_ptr< Logger > |
logger | ) |
|
◆ ~Register()
encrypto::motion::Register::~Register |
( |
| ) |
|
◆ AddCachedAlgorithmDescription()
bool encrypto::motion::Register::AddCachedAlgorithmDescription |
( |
std::string |
path, |
|
|
const std::shared_ptr< AlgorithmDescription > & |
algorithm_description |
|
) |
| |
Tries to insert an AlgorithmDescription object read from a file into cached_algos_.
- Parameters
-
path | absolute path to the corresponding file |
algorithm_description | AlgorithmDescription object corresponding to the parsed file |
- Returns
- true if the insertion was successful and false if the object is already in the cache
◆ AddToActiveQueue()
void encrypto::motion::Register::AddToActiveQueue |
( |
std::size_t |
gate_id | ) |
|
◆ Clear()
void encrypto::motion::Register::Clear |
( |
| ) |
|
◆ ClearActiveQueue()
void encrypto::motion::Register::ClearActiveQueue |
( |
| ) |
|
◆ GetCachedAlgorithmDescription()
std::shared_ptr< AlgorithmDescription > encrypto::motion::Register::GetCachedAlgorithmDescription |
( |
const std::string & |
path | ) |
|
Gets cached AlgorithmDescription object read from a file and placed into cached_algos_.
- Returns
- shared_ptr to the algorithm description or to nullptr if not in the hash table
◆ GetGate()
const GatePointer& encrypto::motion::Register::GetGate |
( |
std::size_t |
gate_id | ) |
const |
|
inline |
◆ GetGates()
auto& encrypto::motion::Register::GetGates |
( |
| ) |
const |
|
inline |
◆ GetGatesOnlineDoneCondition()
std::shared_ptr<FiberCondition> encrypto::motion::Register::GetGatesOnlineDoneCondition |
( |
| ) |
|
|
inline |
◆ GetGatesSetupDoneCondition()
std::shared_ptr<FiberCondition> encrypto::motion::Register::GetGatesSetupDoneCondition |
( |
| ) |
|
|
inline |
◆ GetInputGates()
const auto& encrypto::motion::Register::GetInputGates |
( |
| ) |
const |
|
inline |
◆ GetLogger()
std::shared_ptr<Logger> encrypto::motion::Register::GetLogger |
( |
| ) |
|
|
inline |
◆ GetNextGateFromActiveQueue()
std::int64_t encrypto::motion::Register::GetNextGateFromActiveQueue |
( |
| ) |
|
◆ GetNumberOfEvaluatedGates()
std::size_t encrypto::motion::Register::GetNumberOfEvaluatedGates |
( |
| ) |
const |
|
inline |
◆ GetNumberOfEvaluatedGateSetups()
std::size_t encrypto::motion::Register::GetNumberOfEvaluatedGateSetups |
( |
| ) |
const |
|
inline |
◆ GetTotalNumberOfGates()
std::size_t encrypto::motion::Register::GetTotalNumberOfGates |
( |
| ) |
const |
|
inline |
◆ GetWire()
WirePointer encrypto::motion::Register::GetWire |
( |
std::size_t |
wire_id | ) |
const |
|
inline |
◆ IncrementEvaluatedGatesOnlineCounter()
void encrypto::motion::Register::IncrementEvaluatedGatesOnlineCounter |
( |
| ) |
|
◆ IncrementEvaluatedGatesSetupCounter()
void encrypto::motion::Register::IncrementEvaluatedGatesSetupCounter |
( |
| ) |
|
◆ NextArithmeticSharingId()
std::size_t encrypto::motion::Register::NextArithmeticSharingId |
( |
std::size_t |
number_of_parallel_values | ) |
|
◆ NextBooleanGmwSharingId()
std::size_t encrypto::motion::Register::NextBooleanGmwSharingId |
( |
std::size_t |
number_of_parallel_values | ) |
|
◆ NextGateId()
std::size_t encrypto::motion::Register::NextGateId |
( |
| ) |
|
|
noexcept |
◆ NextWireId()
std::size_t encrypto::motion::Register::NextWireId |
( |
| ) |
|
|
noexcept |
◆ RegisterNextGate()
void encrypto::motion::Register::RegisterNextGate |
( |
GatePointer |
gate | ) |
|
◆ RegisterNextInputGate()
void encrypto::motion::Register::RegisterNextInputGate |
( |
GatePointer |
gate | ) |
|
◆ RegisterNextWire()
void encrypto::motion::Register::RegisterNextWire |
( |
WirePointer |
wire | ) |
|
|
inline |
◆ Reset()
void encrypto::motion::Register::Reset |
( |
| ) |
|
◆ UnregisterGate()
void encrypto::motion::Register::UnregisterGate |
( |
std::size_t |
gate_id | ) |
|
|
inline |
◆ UnregisterWire()
void encrypto::motion::Register::UnregisterWire |
( |
std::size_t |
wire_id | ) |
|
|
inline |
The documentation for this class was generated from the following files: