safety_bucket.hpp
Go to the documentation of this file.
94 dep_bucket(str mym, str myf, str me, module_functor<TYPE> * functor_ptr_in = NULL, module_functor_common* dependent_functor_ptr_in = NULL) 101 void initialize(module_functor<TYPE> * functor_ptr_in, module_functor_common* dependent_functor_ptr_in) 139 //Choose the index of the thread if the dependency and the dependent functor are running inside the same loop. If not, just access the first element. 149 //Choose the index of the thread if the dependency and the dependent functor are running inside the same loop. If not, just choose the first element. 151 return _sptr.operator->() + index; //Call a const member function of the indexth element of the array pointed to by the safe pointer. 211 BEvariable_bucket(str mym, str myf, str me, backend_functor<TYPE*(*)(),TYPE*> * functor_ptr_in = NULL) 274 BEfunction_bucket_common(str mym, str myf, str me, backend_functor<PTR_TYPE, TYPE, ARGS...>* functor_ptr_in = NULL) 316 class BEfunction_bucket<TYPE(*)(ARGS...),TYPE,ARGS...> : public BEfunction_bucket_common<TYPE(*)(ARGS...),TYPE,ARGS...> 322 BEfunction_bucket(str mym, str myf, str me, backend_functor<TYPE(*)(ARGS...), TYPE, ARGS...>* functor_ptr_in = NULL) 343 BEfunction_bucket(str mym, str myf, str me, backend_functor<typename variadic_ptr<TYPE,ARGS...>::type, TYPE, ARGS...>* functor_ptr_in = NULL) 344 : BEfunction_bucket_common<typename variadic_ptr<TYPE,ARGS...>::type,TYPE,ARGS...>(mym, myf, me, functor_ptr_in) {} 348 TYPE operator ()(VARARGS&& ...varargs) str version() const Getter for the version of the wrapped function's origin (module or backend) Definition: functors.cpp:123 void initialize(module_functor< TYPE > *functor_ptr_in, module_functor_common *dependent_functor_ptr_in) Initialize this bucket with a depedency functor pointer. Definition: safety_bucket.hpp:101 virtual str loopManagerOrigin() Getter for revealing the module of the wrapped function's assigned loop manager. Definition: functors.cpp:916 A safe pointer that throws an informative error if you try to dereference it when nullified... Definition: util_types.hpp:167 Actual module functor type for all but TYPE=void. Definition: functors.hpp:745 virtual str loopManagerCapability() Getter for revealing the required capability of the wrapped function's loop manager. Definition: functors.cpp:910 void dieGracefully() const Failure message invoked when the user tries to access the object before it is initialized. Definition: safety_bucket.hpp:68 virtual str loopManagerName() Getter for revealing the name of the wrapped function's assigned loop manager. Definition: functors.cpp:914 General small utility classes, typedefs, etc. The actual usable form of the interface class to backend functions. Definition: safety_bucket.hpp:312 str origin() const Getter for the wrapped function's origin (module or backend name) Definition: functors.cpp:121 functor * _functor_base_ptr Definition: safety_bucket.hpp:61 Functor derived class for module functions. Definition: functors.hpp:399 Functor class definitions. BE_bucket_base(str mym, str myf, str me) Constructor for BE_bucket_base. Definition: safety_bucket.hpp:179 BEfunction_bucket(str mym, str myf, str me, backend_functor< TYPE(*)(ARGS...), TYPE, ARGS... > *functor_ptr_in=NULL) Constructor for non-variadic BEfunction_bucket. Definition: safety_bucket.hpp:322 static bool use_thread_index(module_functor< TYPE > *f1, module_functor_common *f2) Check if the thread index needs to be used to access the functor's result. Definition: safety_bucket.hpp:127 A safe variable pointer that throws an informative error if you try to dereference it when nullified... Definition: util_types.hpp:244 A base class for BEvariable_bucket and BEfunction_bucket. Definition: safety_bucket.hpp:173 dep_bucket(str mym, str myf, str me, module_functor< TYPE > *functor_ptr_in=NULL, module_functor_common *dependent_functor_ptr_in=NULL) Constructor for dep_bucket. Definition: safety_bucket.hpp:94 backend_functor< PTR_TYPE, TYPE, ARGS... > * _functor_ptr Definition: safety_bucket.hpp:306 void initialize(backend_functor< PTR_TYPE, TYPE, ARGS... > *functor_ptr_in) Initialize this bucket with a functor pointer. Definition: safety_bucket.hpp:281 void initialize(backend_functor< TYPE *(*)(), TYPE *> *functor_ptr_in) Initialize this bucket with a functor pointer. Definition: safety_bucket.hpp:219 backend_functor< TYPE *(*)(), TYPE * > * _functor_ptr Definition: safety_bucket.hpp:205 safe_variable_ptr< TYPE > & safe_pointer() Get the safe_variable_ptr. Definition: safety_bucket.hpp:258 Base class for the interface classes 'dep_bucket', 'BEvariable_bucket' and 'BEfunction_bucket'. Definition: safety_bucket.hpp:36 BEfunction_bucket(str mym, str myf, str me, backend_functor< typename variadic_ptr< TYPE, ARGS... >::type, TYPE, ARGS... > *functor_ptr_in=NULL) Constructor for variadic BEfunction_bucket. Definition: safety_bucket.hpp:343 module_functor_common * _dependent_functor_ptr Definition: safety_bucket.hpp:166 module_functor< TYPE > * _functor_ptr Definition: safety_bucket.hpp:164 An interface class for backend functions. Definition: safety_bucket.hpp:269 Exception objects required for standalone compilation. const TYPE * operator->() const Access is allowed to const member functions only. Definition: safety_bucket.hpp:146 BEvariable_bucket(str mym, str myf, str me, backend_functor< TYPE *(*)(), TYPE *> *functor_ptr_in=NULL) Constructor for BEvariable_bucket. Definition: safety_bucket.hpp:211 BEfunction_bucket_common(str mym, str myf, str me, backend_functor< PTR_TYPE, TYPE, ARGS... > *functor_ptr_in=NULL) Constructor for BEfunction_bucket_common. Definition: safety_bucket.hpp:274 An interface class for backend variables. Definition: safety_bucket.hpp:200 |