VarAccess Class Reference

#include <micronodes_runtime.h>

Public Member Functions

 VarAccess (Context &ctx, FrameData &frame, const Int *offsetsMap, const void *userData)
 
Int GetIndex () const
 
Context & GetContext () const
 
const ViewIteratorMemberGetMember (ACCESS_INDEX member) const
 
const Generic & GetMemberValue (ACCESS_INDEX member) const
 
Generic & GetMemberValue (ACCESS_INDEX member)
 
const CharGetMemberArrayPointer () const
 
const void * GetUserData () const
 
FrameDataGetFrameData () const
 

Static Public Member Functions

static Int PrivateGetMemberArrayOffset ()
 

Private Attributes

FrameData *const _frame
 
const Int *const _offsetsMap
 
Context *const _context
 
const void * _userData
 

Friends

template<Int PORTCOUNT>
class BatchVarAccess
 

Constructor & Destructor Documentation

◆ VarAccess()

VarAccess ( Context &  ctx,
FrameData frame,
const Int offsetsMap,
const void *  userData 
)

Member Function Documentation

◆ GetIndex()

Int GetIndex ( ) const

◆ GetContext()

Context& GetContext ( ) const

◆ GetMember()

const ViewIteratorMember& GetMember ( ACCESS_INDEX  member) const

◆ GetMemberValue() [1/2]

const Generic& GetMemberValue ( ACCESS_INDEX  member) const

◆ GetMemberValue() [2/2]

Generic& GetMemberValue ( ACCESS_INDEX  member)

◆ PrivateGetMemberArrayOffset()

static Int PrivateGetMemberArrayOffset ( )
static

◆ GetMemberArrayPointer()

const Char* GetMemberArrayPointer ( ) const

◆ GetUserData()

const void* GetUserData ( ) const

◆ GetFrameData()

FrameData& GetFrameData ( ) const

Friends And Related Function Documentation

◆ BatchVarAccess

friend class BatchVarAccess
friend

Member Data Documentation

◆ _frame

FrameData* const _frame
private

◆ _offsetsMap

const Int* const _offsetsMap
private

◆ _context

Context* const _context
private

◆ _userData

const void* _userData
private