Skip to content

Class muda::ComputeGraphVar

template <typename T>

ClassList > muda > ComputeGraphVar

Inherits the following classes: muda::ComputeGraphVarBase

Public Types

Type Name
typedef read_only_viewer_t< T > ROViewer
typedef T RWViewer

Public Functions

Type Name
ROViewer ceval () const
RWViewer eval ()
virtual void graphviz_def (std::ostream & os, const ComputeGraphGraphvizOptions & options) override const
operator ROViewer () const
operator RWViewer ()
ComputeGraphVar< T > & operator= (const RWViewer & view)
void update (const RWViewer & view)

Public Functions inherited from muda::ComputeGraphVarBase

See muda::ComputeGraphVarBase

Type Name
virtual void graphviz_def (std::ostream & os, const ComputeGraphGraphvizOptions & options) const
virtual void graphviz_id (std::ostream & os, const ComputeGraphGraphvizOptions & options) const
bool is_using ()
bool is_valid () const
std::string_view name () const
Event::QueryResult query ()
void sync ()
void update ()
VarId var_id () const

Protected Attributes inherited from muda::ComputeGraphVarBase

See muda::ComputeGraphVarBase

Type Name
std::set< ClosureId > m_closure_ids

Protected Functions

Type Name
ComputeGraphVar (ComputeGraphVarManager * var_manager, std::string_view name, VarId var_id)
ComputeGraphVar (ComputeGraphVarManager * var_manager, std::string_view name, VarId var_id, const T & init_value)
ComputeGraphVarBase (ComputeGraphVarManager * var_manager, std::string_view name, VarId var_id)
ComputeGraphVarBase (ComputeGraphVarManager * var_manager, std::string_view name, VarId var_id, bool is_valid)
virtual ~ComputeGraphVar () = default

Protected Functions inherited from muda::ComputeGraphVarBase

See muda::ComputeGraphVarBase

Type Name
ComputeGraphVarBase (ComputeGraphVarManager * var_manager, std::string_view name, VarId var_id)
ComputeGraphVarBase (ComputeGraphVarManager * var_manager, std::string_view name, VarId var_id, bool is_valid)
ROView _ceval (ROView & view) const
RWView _eval (const RWView & view)
void base_update ()
virtual ~ComputeGraphVarBase () = default

Public Types Documentation

typedef ROViewer

using muda::ComputeGraphVar< T >::ROViewer =  read_only_viewer_t<T>;

typedef RWViewer

using muda::ComputeGraphVar< T >::RWViewer =  T;

Public Functions Documentation

function ceval

inline ROViewer muda::ComputeGraphVar::ceval () const

function eval

inline RWViewer muda::ComputeGraphVar::eval () 

function graphviz_def

virtual void muda::ComputeGraphVar::graphviz_def (
    std::ostream & os,
    const ComputeGraphGraphvizOptions & options
) override const

Implements muda::ComputeGraphVarBase::graphviz_def


function operator ROViewer

inline muda::ComputeGraphVar::operator ROViewer () const

function operator RWViewer

inline muda::ComputeGraphVar::operator RWViewer () 

function operator=

ComputeGraphVar < T > & muda::ComputeGraphVar::operator= (
    const RWViewer & view
) 

function update

void muda::ComputeGraphVar::update (
    const RWViewer & view
) 

Protected Functions Documentation

function ComputeGraphVar [1/2]

inline muda::ComputeGraphVar::ComputeGraphVar (
    ComputeGraphVarManager * var_manager,
    std::string_view name,
    VarId var_id
) 

function ComputeGraphVar [2/2]

inline muda::ComputeGraphVar::ComputeGraphVar (
    ComputeGraphVarManager * var_manager,
    std::string_view name,
    VarId var_id,
    const T & init_value
) 

function ComputeGraphVarBase [1/2]

inline muda::ComputeGraphVar::ComputeGraphVarBase (
    ComputeGraphVarManager * var_manager,
    std::string_view name,
    VarId var_id
) 

function ComputeGraphVarBase [2/2]

inline muda::ComputeGraphVar::ComputeGraphVarBase (
    ComputeGraphVarManager * var_manager,
    std::string_view name,
    VarId var_id,
    bool is_valid
) 

function ~ComputeGraphVar

virtual muda::ComputeGraphVar::~ComputeGraphVar () = default


The documentation for this class was generated from the following file src/muda/compute_graph/compute_graph_var.h