replicode
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
r_exec::_Context Class Referenceabstract

#include <_context.h>

Inheritance diagram for r_exec::_Context:
Inheritance graph
Collaboration diagram for r_exec::_Context:
Collaboration graph

Public Member Functions

virtual ~_Context ()
 
virtual _Contextassign (const _Context *c)=0
 
virtual bool equal (const _Context *c) const =0
 
virtual Atomget_atom (uint16_t i) const =0
 
virtual uint16_t get_object_code_size () const =0
 
virtual uint16_t getChildrenCount () const =0
 
virtual _Context_getChild (uint16_t index) const =0
 
virtual _Contextdereference () const =0
 
void commit () const
 
void rollback () const
 
void patch_code (uint16_t location, Atom value) const
 
void unpatch_code (uint16_t patch_index) const
 
uint16_t get_last_patch_index () const
 
uint16_t setAtomicResult (Atom a) const
 
uint16_t setTimestampResult (uint64_t t) const
 
uint16_t setCompoundResultHead (Atom a) const
 
uint16_t addCompoundResultPart (Atom a) const
 
void trace () const
 

Protected Types

enum  Data {
  STEM = 0, REFERENCE = 1, VIEW = 2, MKS = 3,
  VWS = 4, VALUE_ARRAY = 5, BINDING_MAP = 6, UNDEFINED = 7
}
 

Protected Member Functions

 _Context (Atom *code, uint16_t index, Overlay *overlay, Data data)
 

Protected Attributes

Overlay *const overlay
 
Atomcode
 
uint16_t index
 
Data data
 

Member Enumeration Documentation

enum r_exec::_Context::Data
protected
Enumerator
STEM 
REFERENCE 
VIEW 
MKS 
VWS 
VALUE_ARRAY 
BINDING_MAP 
UNDEFINED 

Constructor & Destructor Documentation

r_exec::_Context::_Context ( Atom code,
uint16_t  index,
Overlay overlay,
Data  data 
)
inlineprotected
virtual r_exec::_Context::~_Context ( )
inlinevirtual

Member Function Documentation

virtual _Context* r_exec::_Context::_getChild ( uint16_t  index) const
pure virtual

Implemented in r_exec::IPGMContext, and r_exec::HLPContext.

Here is the caller graph for this function:

uint16_t r_exec::_Context::addCompoundResultPart ( Atom  a) const

Here is the call graph for this function:

Here is the caller graph for this function:

virtual _Context* r_exec::_Context::assign ( const _Context c)
pure virtual

Implemented in r_exec::IPGMContext, and r_exec::HLPContext.

Here is the caller graph for this function:

void r_exec::_Context::commit ( ) const
inline

Here is the call graph for this function:

virtual _Context* r_exec::_Context::dereference ( ) const
pure virtual

Implemented in r_exec::IPGMContext, and r_exec::HLPContext.

Here is the caller graph for this function:

virtual bool r_exec::_Context::equal ( const _Context c) const
pure virtual

Implemented in r_exec::IPGMContext, and r_exec::HLPContext.

Here is the caller graph for this function:

virtual Atom& r_exec::_Context::get_atom ( uint16_t  i) const
pure virtual

Implemented in r_exec::IPGMContext, and r_exec::HLPContext.

Here is the caller graph for this function:

uint16_t r_exec::_Context::get_last_patch_index ( ) const
inline

Here is the call graph for this function:

Here is the caller graph for this function:

virtual uint16_t r_exec::_Context::get_object_code_size ( ) const
pure virtual

Implemented in r_exec::IPGMContext, and r_exec::HLPContext.

Here is the caller graph for this function:

virtual uint16_t r_exec::_Context::getChildrenCount ( ) const
pure virtual

Implemented in r_exec::IPGMContext, and r_exec::HLPContext.

Here is the caller graph for this function:

void r_exec::_Context::patch_code ( uint16_t  location,
Atom  value 
) const
inline

Here is the call graph for this function:

Here is the caller graph for this function:

void r_exec::_Context::rollback ( ) const
inline

Here is the call graph for this function:

uint16_t r_exec::_Context::setAtomicResult ( Atom  a) const

Here is the call graph for this function:

Here is the caller graph for this function:

uint16_t r_exec::_Context::setCompoundResultHead ( Atom  a) const

Here is the call graph for this function:

Here is the caller graph for this function:

uint16_t r_exec::_Context::setTimestampResult ( uint64_t  t) const

Here is the call graph for this function:

Here is the caller graph for this function:

void r_exec::_Context::trace ( ) const

Here is the call graph for this function:

Here is the caller graph for this function:

void r_exec::_Context::unpatch_code ( uint16_t  patch_index) const
inline

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

Atom* r_exec::_Context::code
protected
Data r_exec::_Context::data
protected
uint16_t r_exec::_Context::index
protected
Overlay* const r_exec::_Context::overlay
protected

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