MOTION  0.01
Framework for mixed-protocol multi-party computation
Public Member Functions | List of all members
encrypto::motion::Configuration Class Reference

#include <configuration.h>

Public Member Functions

 Configuration (std::size_t my_id, std::size_t number_of_parties)
 
 ~Configuration ()=default
 
std::size_t GetNumOfThreads () const noexcept
 
void SetNumOfThreads (std::size_t n)
 
void SetLoggingSeverityLevel (boost::log::trivial::severity_level severity_level)
 
bool GetOnlineAfterSetup () const noexcept
 
void SetOnlineAfterSetup (bool value)
 
void SetLoggingEnabled (bool value=true)
 
bool GetLoggingEnabled () const noexcept
 
std::size_t GetMyId () const
 
std::size_t GetNumOfParties () const
 
boost::log::trivial::severity_level GetLoggingSeverityLevel () const noexcept
 

Constructor & Destructor Documentation

◆ Configuration()

encrypto::motion::Configuration::Configuration ( std::size_t  my_id,
std::size_t  number_of_parties 
)

◆ ~Configuration()

encrypto::motion::Configuration::~Configuration ( )
default

Member Function Documentation

◆ GetLoggingEnabled()

bool encrypto::motion::Configuration::GetLoggingEnabled ( ) const
inlinenoexcept

◆ GetLoggingSeverityLevel()

boost::log::trivial::severity_level encrypto::motion::Configuration::GetLoggingSeverityLevel ( ) const
inlinenoexcept

◆ GetMyId()

std::size_t encrypto::motion::Configuration::GetMyId ( ) const
inline

◆ GetNumOfParties()

std::size_t encrypto::motion::Configuration::GetNumOfParties ( ) const
inline
Here is the caller graph for this function:

◆ GetNumOfThreads()

std::size_t encrypto::motion::Configuration::GetNumOfThreads ( ) const
inlinenoexcept

◆ GetOnlineAfterSetup()

bool encrypto::motion::Configuration::GetOnlineAfterSetup ( ) const
inlinenoexcept

◆ SetLoggingEnabled()

void encrypto::motion::Configuration::SetLoggingEnabled ( bool  value = true)
inline

◆ SetLoggingSeverityLevel()

void encrypto::motion::Configuration::SetLoggingSeverityLevel ( boost::log::trivial::severity_level  severity_level)
inline

◆ SetNumOfThreads()

void encrypto::motion::Configuration::SetNumOfThreads ( std::size_t  n)
inline

◆ SetOnlineAfterSetup()

void encrypto::motion::Configuration::SetOnlineAfterSetup ( bool  value)

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