Rosetta
Classes | Typedefs | Enumerations
basic::thread_manager Namespace Reference

Classes

struct  RosettaThreadAllocation
 
class  RosettaThreadAssignmentInfo
 
class  RosettaThreadManager
 A manager that maintains a threadpool and handles requests for threads for multithreaded execution of functions. This allows multithreading at many different levels in the Rosetta library hierarchy, from job-level parallel execution down to parallel computation of a score, gradient vector, or interaction graph. More...
 
class  RosettaThreadManagerAdvancedAPIKey
 A class containing no private member data and only a constructor as a private member function, with friendship to only those classes that should be able to access the advanced RosettaThreadManager API. Since the advanced API requires an instance of a RosettaThreadManagerAdvancedAPIKey, this ensures that only those classes can access the advanced API. More...
 
class  RosettaThreadManagerInitializationTracker
 A singleton that tracks whether we have already launched threads or not. More...
 

Typedefs

using RosettaThreadAllocationOP = utility::pointer::shared_ptr< RosettaThreadAllocation >
 
using RosettaThreadAllocationCOP = utility::pointer::shared_ptr< RosettaThreadAllocation const >
 
typedef utility::pointer::shared_ptr< RosettaThreadManagerRosettaThreadManagerOP
 
typedef utility::pointer::shared_ptr< RosettaThreadManager const > RosettaThreadManagerCOP
 
typedef utility::pointer::weak_ptr< RosettaThreadManagerRosettaThreadManagerAP
 
typedef utility::pointer::weak_ptr< RosettaThreadManager const > RosettaThreadManagerCAP
 
typedef std::function< void() > RosettaThreadFunction
 
typedef utility::pointer::shared_ptr< RosettaThreadManagerAdvancedAPIKeyRosettaThreadManagerAdvancedAPIKeyOP
 
typedef utility::pointer::shared_ptr< RosettaThreadManagerAdvancedAPIKey const > RosettaThreadManagerAdvancedAPIKeyCOP
 
typedef utility::pointer::shared_ptr< RosettaThreadManagerInitializationTrackerRosettaThreadManagerInitializationTrackerOP
 
typedef utility::pointer::shared_ptr< RosettaThreadManagerInitializationTracker const > RosettaThreadManagerInitializationTrackerCOP
 

Enumerations

enum class  RosettaThreadRequestOriginatingLevel {
  UNKNOWN = 1 , CORE_GENERIC , CORE_PACK , CORE_SCORING ,
  PROTOCOLS_GENERIC , PROTOCOLS_MINIMIZATION_PACKING , PROTOCOLS_JOB_DISTRIBUTOR , APPLICATIONS_OR_APPLICATION_PROTOCOLS ,
  INVALID , END_OF_LIST = INVALID
}
 

Typedef Documentation

◆ RosettaThreadAllocationCOP

typedef utility::pointer::shared_ptr< RosettaThreadAllocation const > basic::thread_manager::RosettaThreadAllocationCOP

◆ RosettaThreadAllocationOP

◆ RosettaThreadFunction

◆ RosettaThreadManagerAdvancedAPIKeyCOP

◆ RosettaThreadManagerAdvancedAPIKeyOP

◆ RosettaThreadManagerAP

◆ RosettaThreadManagerCAP

typedef utility::pointer::weak_ptr< RosettaThreadManager const > basic::thread_manager::RosettaThreadManagerCAP

◆ RosettaThreadManagerCOP

typedef utility::pointer::shared_ptr< RosettaThreadManager const > basic::thread_manager::RosettaThreadManagerCOP

◆ RosettaThreadManagerInitializationTrackerCOP

◆ RosettaThreadManagerInitializationTrackerOP

◆ RosettaThreadManagerOP

Enumeration Type Documentation

◆ RosettaThreadRequestOriginatingLevel

Enumerator
UNKNOWN 
CORE_GENERIC 
CORE_PACK 
CORE_SCORING 
PROTOCOLS_GENERIC 
PROTOCOLS_MINIMIZATION_PACKING 
PROTOCOLS_JOB_DISTRIBUTOR 
APPLICATIONS_OR_APPLICATION_PROTOCOLS 
INVALID 
END_OF_LIST