HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ProcessGroup< P, > Class Template Reference

#include <IlmThreadProcessGroup.h>

Public Types

using Process = P
 

Public Member Functions

 ProcessGroup (unsigned int numThreads)
 
 ProcessGroup (const ProcessGroup &)=delete
 
ProcessGroupoperator= (const ProcessGroup &)=delete
 
 ProcessGroup (ProcessGroup &&)=default
 
ProcessGroupoperator= (ProcessGroup &&)=delete
 
 ~ProcessGroup ()
 
void push (Process *p)
 
Processpop ()
 
void record_failure (const char *e)
 
void throw_on_failure ()
 

Detailed Description

template<typename P, std::enable_if_t< std::is_default_constructible< P >::value &&std::is_same< decltype(P{}.next), P * >::value, bool > = true>
class ProcessGroup< P, >

Definition at line 37 of file IlmThreadProcessGroup.h.

Member Typedef Documentation

template<typename P , std::enable_if_t< std::is_default_constructible< P >::value &&std::is_same< decltype(P{}.next), P * >::value, bool > = true>
using ProcessGroup< P, >::Process = P

Definition at line 40 of file IlmThreadProcessGroup.h.

Constructor & Destructor Documentation

template<typename P , std::enable_if_t< std::is_default_constructible< P >::value &&std::is_same< decltype(P{}.next), P * >::value, bool > = true>
ProcessGroup< P, >::ProcessGroup ( unsigned int  numThreads)
inline

Definition at line 42 of file IlmThreadProcessGroup.h.

template<typename P , std::enable_if_t< std::is_default_constructible< P >::value &&std::is_same< decltype(P{}.next), P * >::value, bool > = true>
ProcessGroup< P, >::ProcessGroup ( const ProcessGroup< P, > &  )
delete
template<typename P , std::enable_if_t< std::is_default_constructible< P >::value &&std::is_same< decltype(P{}.next), P * >::value, bool > = true>
ProcessGroup< P, >::ProcessGroup ( ProcessGroup< P, > &&  )
default
template<typename P , std::enable_if_t< std::is_default_constructible< P >::value &&std::is_same< decltype(P{}.next), P * >::value, bool > = true>
ProcessGroup< P, >::~ProcessGroup ( )
inline

Definition at line 62 of file IlmThreadProcessGroup.h.

Member Function Documentation

template<typename P , std::enable_if_t< std::is_default_constructible< P >::value &&std::is_same< decltype(P{}.next), P * >::value, bool > = true>
ProcessGroup& ProcessGroup< P, >::operator= ( const ProcessGroup< P, > &  )
delete
template<typename P , std::enable_if_t< std::is_default_constructible< P >::value &&std::is_same< decltype(P{}.next), P * >::value, bool > = true>
ProcessGroup& ProcessGroup< P, >::operator= ( ProcessGroup< P, > &&  )
delete
template<typename P , std::enable_if_t< std::is_default_constructible< P >::value &&std::is_same< decltype(P{}.next), P * >::value, bool > = true>
Process* ProcessGroup< P, >::pop ( )
inline

Definition at line 85 of file IlmThreadProcessGroup.h.

template<typename P , std::enable_if_t< std::is_default_constructible< P >::value &&std::is_same< decltype(P{}.next), P * >::value, bool > = true>
void ProcessGroup< P, >::push ( Process p)
inline

Definition at line 68 of file IlmThreadProcessGroup.h.

template<typename P , std::enable_if_t< std::is_default_constructible< P >::value &&std::is_same< decltype(P{}.next), P * >::value, bool > = true>
void ProcessGroup< P, >::record_failure ( const char *  e)
inline

Definition at line 113 of file IlmThreadProcessGroup.h.

template<typename P , std::enable_if_t< std::is_default_constructible< P >::value &&std::is_same< decltype(P{}.next), P * >::value, bool > = true>
void ProcessGroup< P, >::throw_on_failure ( )
inline

Definition at line 128 of file IlmThreadProcessGroup.h.


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