replicode
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
r_exec::InputLessPGMOverlay Class Reference

#include <pgm_overlay.h>

Inheritance diagram for r_exec::InputLessPGMOverlay:
Inheritance graph
Collaboration diagram for r_exec::InputLessPGMOverlay:
Collaboration graph

Public Member Functions

virtual ~InputLessPGMOverlay ()
 
virtual void reset ()
 
bool inject_productions ()
 
- Public Member Functions inherited from r_exec::Overlay
virtual ~Overlay ()
 
virtual Overlayreduce (r_exec::View *input)
 
void invalidate ()
 
virtual bool is_invalidated ()
 
r_code::CodegetObject () const
 
r_exec::ViewgetView () const
 
r_code::Codebuild_object (Atom head) const
 
- Public Member Functions inherited from core::_Object
virtual ~_Object ()
 
void incRef ()
 
virtual void decRef ()
 

Protected Member Functions

bool evaluate (uint16_t index)
 
virtual Codeget_mk_rdx (uint16_t &extent_index) const
 
void patch_tpl_args ()
 
void patch_tpl_code (uint16_t pgm_code_index, uint16_t ipgm_code_index)
 
virtual void patch_input_code (uint16_t pgm_code_index, uint16_t input_index, uint16_t input_code_index, int16_t parent_index=-1)
 
 InputLessPGMOverlay ()
 
 InputLessPGMOverlay (Controller *c)
 
- Protected Member Functions inherited from r_exec::Overlay
void load_code ()
 
void patch_code (uint16_t index, Atom value)
 
uint16_t get_last_patch_index ()
 
void unpatch_code (uint16_t patch_index)
 
void rollback ()
 
void commit ()
 
Codeget_core_object () const
 
 Overlay ()
 
 Overlay (Controller *c, bool load_code=true)
 
- Protected Member Functions inherited from core::_Object
 _Object ()
 

Protected Attributes

std::vector< P< Code > > productions
 
- Protected Attributes inherited from r_exec::Overlay
volatile uint64_t invalidated
 
Controllercontroller
 
r_code::vector< Atomvalues
 
Atomcode
 
uint16_t code_size
 
std::vector< uint16_t > patch_indices
 
uint16_t value_commit_index
 
- Protected Attributes inherited from core::_Object
std::atomic_int_fast64_t refCount
 

Friends

class PGMController
 
class InputLessPGMController
 
class IPGMContext
 

Constructor & Destructor Documentation

r_exec::InputLessPGMOverlay::InputLessPGMOverlay ( )
protected
r_exec::InputLessPGMOverlay::InputLessPGMOverlay ( Controller c)
protected

Here is the call graph for this function:

r_exec::InputLessPGMOverlay::~InputLessPGMOverlay ( )
virtual

Member Function Documentation

bool r_exec::InputLessPGMOverlay::evaluate ( uint16_t  index)
inlineprotected

Here is the call graph for this function:

Here is the caller graph for this function:

Code * r_exec::InputLessPGMOverlay::get_mk_rdx ( uint16_t &  extent_index) const
protectedvirtual

Reimplemented in r_exec::PGMOverlay.

Here is the call graph for this function:

Here is the caller graph for this function:

bool r_exec::InputLessPGMOverlay::inject_productions ( )

Here is the call graph for this function:

Here is the caller graph for this function:

void r_exec::InputLessPGMOverlay::patch_input_code ( uint16_t  pgm_code_index,
uint16_t  input_index,
uint16_t  input_code_index,
int16_t  parent_index = -1 
)
protectedvirtual

Reimplemented in r_exec::PGMOverlay.

void r_exec::InputLessPGMOverlay::patch_tpl_args ( )
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void r_exec::InputLessPGMOverlay::patch_tpl_code ( uint16_t  pgm_code_index,
uint16_t  ipgm_code_index 
)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void r_exec::InputLessPGMOverlay::reset ( )
inlinevirtual

Reimplemented from r_exec::Overlay.

Reimplemented in r_exec::PGMOverlay.

Here is the call graph for this function:

Here is the caller graph for this function:

Friends And Related Function Documentation

friend class InputLessPGMController
friend
friend class IPGMContext
friend
friend class PGMController
friend

Member Data Documentation

std::vector<P<Code> > r_exec::InputLessPGMOverlay::productions
protected

The documentation for this class was generated from the following files: