MOTION
0.01
Framework for mixed-protocol multi-party computation
|
Go to the documentation of this file.
27 #include <boost/log/trivial.hpp>
34 Configuration(std::size_t my_id, std::size_t number_of_parties);
43 severity_level_ = severity_level;
54 std::size_t
GetMyId()
const {
return my_id_; }
59 return severity_level_;
64 std::size_t number_of_parties_;
66 boost::log::trivial::severity_level severity_level_ = boost::log::trivial::info;
68 bool logging_enabled_ =
true;
72 bool online_after_setup_ =
false;
78 std::size_t number_of_threads_;
bool GetLoggingEnabled() const noexcept
Definition: configuration.h:52
void SetLoggingSeverityLevel(boost::log::trivial::severity_level severity_level)
Definition: configuration.h:42
std::size_t GetNumOfThreads() const noexcept
Definition: configuration.h:38
bool GetOnlineAfterSetup() const noexcept
Definition: configuration.h:46
void SetLoggingEnabled(bool value=true)
Definition: configuration.h:50
void SetOnlineAfterSetup(bool value)
Definition: configuration.cpp:44
boost::log::trivial::severity_level GetLoggingSeverityLevel() const noexcept
Definition: configuration.h:58
std::size_t GetMyId() const
Definition: configuration.h:54
std::shared_ptr< Configuration > ConfigurationPointer
Definition: backend.h:81
Configuration(std::size_t my_id, std::size_t number_of_parties)
Definition: configuration.cpp:33
Definition: algorithm_description.cpp:35
std::size_t GetNumOfParties() const
Definition: configuration.h:56
void SetNumOfThreads(std::size_t n)
Definition: configuration.h:40
constexpr bool kVerboseDebug
Definition: constants.h:50
Definition: configuration.h:32
constexpr bool kDebug
Definition: config.h:36