souffle  2.0.2-371-g6315b36
Public Member Functions | Protected Attributes
souffle::interpreter::AbstractParallel Class Reference

node that utilizes parallel execution should inherit from this class. Enable node with its own view context for parallel execution. More...

#include <Node.h>

Inheritance diagram for souffle::interpreter::AbstractParallel:
Inheritance graph
Collaboration diagram for souffle::interpreter::AbstractParallel:
Collaboration graph

Public Member Functions

ViewContextgetViewContext () const
 get view context for operations More...
 
void setViewContext (const std::shared_ptr< ViewContext > &v)
 set view context More...
 

Protected Attributes

std::shared_ptr< ViewContextviewContext = nullptr
 

Detailed Description

node that utilizes parallel execution should inherit from this class. Enable node with its own view context for parallel execution.

Definition at line 328 of file Node.h.

Member Function Documentation

◆ getViewContext()

ViewContext* souffle::interpreter::AbstractParallel::getViewContext ( ) const
inline

get view context for operations

Definition at line 331 of file Node.h.

336  {

Referenced by souffle::interpreter::SuperOperation::getSuperInst().

◆ setViewContext()

void souffle::interpreter::AbstractParallel::setViewContext ( const std::shared_ptr< ViewContext > &  v)
inline

set view context

Definition at line 336 of file Node.h.

336  {
337 public:
338  ViewOperation(size_t id) : viewId(id) {}

References souffle::interpreter::ViewOperation::getViewId(), souffle::interpreter::ViewOperation::viewId, and souffle::interpreter::ViewOperation::ViewOperation().

Here is the call graph for this function:

Field Documentation

◆ viewContext

std::shared_ptr<ViewContext> souffle::interpreter::AbstractParallel::viewContext = nullptr
protected

Definition at line 341 of file Node.h.

Referenced by souffle::interpreter::SuperOperation::getSuperInst().


The documentation for this class was generated from the following file:
id
void id(std::string col)
Definition: Tui.h:1124