replicode
Public Member Functions | Protected Attributes | List of all members
r_code::LObject Class Reference

#include <object.h>

Inheritance diagram for r_code::LObject:
Inheritance graph
Collaboration diagram for r_code::LObject:
Collaboration graph

Public Member Functions

 LObject ()
 
 LObject (SysObject *source)
 
virtual ~LObject ()
 
Viewbuild_view (SysView *source)
 
uint64_t get_oid () const
 
void set_oid (uint64_t oid)
 
Atomcode (uint16_t i)
 
Atomcode (uint16_t i) const
 
uint16_t code_size () const
 
void resize_code (uint16_t new_size)
 
void set_reference (uint16_t i, Code *object)
 
Codeget_reference (uint16_t i) const
 
uint16_t references_size () const
 
void clear_references ()
 
void set_references (std::vector< P< Code > > &new_references)
 
void add_reference (Code *object) const
 
- Public Member Functions inherited from r_code::Code
void set_stroage_index (int64_t i)
 
bool is_registered () const
 
int64_t get_storage_index () const
 
virtual bool is_compact () const
 
virtual bool is_invalidated ()
 
virtual bool invalidate ()
 
virtual void acq_views ()
 
virtual void rel_views ()
 
virtual void acq_markers ()
 
virtual void rel_markers ()
 
virtual double get_psln_thr ()
 
 Code ()
 
virtual ~Code ()
 
virtual void mod (uint16_t member_index, double value)
 
virtual void set (uint16_t member_index, double value)
 
virtual Viewget_view (Code *group, bool lock)
 
void remove_marker (Code *m)
 
void trace () const
 
- Public Member Functions inherited from core::_Object
virtual ~_Object ()
 
void incRef ()
 
virtual void decRef ()
 

Protected Attributes

uint64_t _oid
 
r_code::vector< Atom_code
 
r_code::vector< P< Code > > _references
 
- Protected Attributes inherited from r_code::Code
int64_t storage_index
 
- Protected Attributes inherited from core::_Object
std::atomic_int_fast64_t refCount
 

Additional Inherited Members

- Public Attributes inherited from r_code::Code
r_code::list< Code * > markers
 
std::unordered_set< View *, View::Hash, View::Equalviews
 
- Static Public Attributes inherited from r_code::Code
static const int64_t null_storage_index = -1
 
static const uint64_t CodeMarkersInitialSize = 8
 
- Protected Member Functions inherited from r_code::Code
void load (SysObject *source)
 
template<class V >
Viewbuild_view (SysView *source)
 
- Protected Member Functions inherited from core::_Object
 _Object ()
 

Constructor & Destructor Documentation

r_code::LObject::LObject ( )
inline
r_code::LObject::LObject ( SysObject source)
inline
virtual r_code::LObject::~LObject ( )
inlinevirtual

Reimplemented in r_exec::LObject.

Member Function Documentation

void r_code::LObject::add_reference ( Code object) const
inlinevirtual

Reimplemented from r_code::Code.

Here is the call graph for this function:

Here is the caller graph for this function:

View* r_code::LObject::build_view ( SysView source)
inlinevirtual

Implements r_code::Code.

void r_code::LObject::clear_references ( )
inlinevirtual

Implements r_code::Code.

Here is the call graph for this function:

Atom& r_code::LObject::code ( uint16_t  i)
inlinevirtual

Implements r_code::Code.

Atom& r_code::LObject::code ( uint16_t  i) const
inlinevirtual

Implements r_code::Code.

Here is the call graph for this function:

uint16_t r_code::LObject::code_size ( ) const
inlinevirtual

Implements r_code::Code.

Here is the call graph for this function:

Here is the caller graph for this function:

uint64_t r_code::LObject::get_oid ( ) const
inlinevirtual

Implements r_code::Code.

Here is the caller graph for this function:

Code* r_code::LObject::get_reference ( uint16_t  i) const
inlinevirtual

Implements r_code::Code.

Here is the call graph for this function:

uint16_t r_code::LObject::references_size ( ) const
inlinevirtual

Implements r_code::Code.

Here is the call graph for this function:

Here is the caller graph for this function:

void r_code::LObject::resize_code ( uint16_t  new_size)
inlinevirtual

Implements r_code::Code.

Here is the call graph for this function:

void r_code::LObject::set_oid ( uint64_t  oid)
inlinevirtual

Implements r_code::Code.

void r_code::LObject::set_reference ( uint16_t  i,
Code object 
)
inlinevirtual

Implements r_code::Code.

Here is the caller graph for this function:

void r_code::LObject::set_references ( std::vector< P< Code > > &  new_references)
inlinevirtual

Implements r_code::Code.

Here is the call graph for this function:

Member Data Documentation

r_code::vector<Atom> r_code::LObject::_code
protected
uint64_t r_code::LObject::_oid
protected
r_code::vector<P<Code> > r_code::LObject::_references
protected

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