class dlstreamer::CPUContext#
#include <context.h> class CPUContext: public dlstreamer::BaseContext { };
Inherited Members#
public: // typedefs typedef void* handle_t; // structs struct key; // methods virtual MemoryType memory_type() const = 0; virtual handle_t handle(std::string_view key = {}) const = 0; virtual MemoryMapperPtr get_mapper( const ContextPtr& input_context, const ContextPtr& output_context ) = 0; virtual ContextPtr derive_context(MemoryType memory_type) = 0; virtual ContextPtr parent() = 0; virtual MemoryType memory_type() const; virtual handle_t handle(std::string_view key) const; virtual std::vector<std::string> keys() const; virtual MemoryMapperPtr get_mapper( const ContextPtr& input_context, const ContextPtr& output_context ); virtual ContextPtr derive_context(MemoryType memory_type); virtual ContextPtr parent(); void set_parent(ContextPtr parent); void set_memory_type(MemoryType memory_type); void attach_mapper(MemoryMapperPtr mapper); void remove_mapper(MemoryMapperPtr mapper);