24.02.1
|
#include <Acl.hpp>
Data Structures | |
struct | Options |
< Context options More... | |
Public Member Functions | |
Context (Target target, StatusCode *status=nullptr) | |
Constructor. More... | |
Context (Target target, const Options &options, StatusCode *status=nullptr) | |
Constructor. More... | |
Public Member Functions inherited from ObjectBase< AclContext_ > | |
~ObjectBase ()=default | |
Destructor. More... | |
ObjectBase (const ObjectBase< AclContext_ > &)=default | |
Copy constructor. More... | |
ObjectBase (ObjectBase< AclContext_ > &&)=default | |
Move Constructor. More... | |
ObjectBase< AclContext_ > & | operator= (const ObjectBase< AclContext_ > &)=default |
Copy assignment operator. More... | |
ObjectBase< AclContext_ > & | operator= (ObjectBase< AclContext_ > &&)=default |
Move assignment operator. More... | |
void | reset (AclContext_ *val) |
Reset object value. More... | |
const AclContext_ * | get () const |
Access uderlying object. More... | |
AclContext_ * | get () |
Access uderlying object. More... | |
Context class.
Context acts as a central aggregate service for further objects created from it. It provides, internally, common facilities in order to avoid the use of global statically initialized objects that can lead to important side-effect under specific execution contexts.
For example context contains allocators for object creation, for further backing memory allocation, any serialization interfaces and other modules that affect the construction of objects, like program caches for OpenCL.
|
inlineexplicit |
Constructor.
[in] | target | Target to create context for |
[out] | status | Status information if requested |
|
inline |
Constructor.
[in] | target | Target to create context for |
[in] | options | Context construction options |
[out] | status | Status information if requested |
Definition at line 384 of file Acl.hpp.
References AclCreateContext(), Context::Options::copts, and ObjectBase< AclContext_ >::reset().