Free Electron
|
Reference to an instance of a Layout. More...
#include <RecordSB.h>
Public Member Functions | |
RecordSB (I32 ignored=0) | |
RecordSB (const RecordSB &other) | |
RecordSB & | operator= (const RecordSB &r_other) |
bool | operator== (const RecordSB &r_other) const |
bool | operator!= (const RecordSB &r_other) const |
FE_UWORD | idr (void) const |
Return a unique runtime id (id-runtime, idr, since 'rid' has other meaning. More... | |
bool | isValid (void) const |
Return true if the Record points to a valid state block. More... | |
sp< Layout > | layout (void) const |
Return the Layout. More... | |
bool | extractInstance (Instance &instance, const String &attrName) |
RecordSB | clone (void) |
template<class T > | |
T & | accessAttribute (FE_UWORD aLocator) const |
void * | rawAttribute (FE_UWORD aLocator) const |
Private Member Functions | |
void * | data (void) const |
Return the state block. More... | |
LayoutSB * | rawLayout (void) const |
Return a raw pointer to the Layout. More... | |
void | acquire (void) |
void | release (void) |
void | set (void *datablock) |
Set the state block. More... | |
Private Attributes | |
sp< LayoutSB > | m_spLayout |
void * | m_pStateBlock |
Friends | |
class | WeakRecordSB |
class | LayoutSB |
class | RecordArraySB |
class | SegmentStore |
Reference to an instance of a Layout.
A record is simply a pointer to a Layout and a pointer to a state block. A state block is a block of memory with Attributes laid out as specified by a Layout object.
|
inlineprivate |
Return the state block.
Referenced by fe::RecordArraySB::find(), fe::SegmentStore::releaseSB(), and fe::RecordArraySB::remove().
|
inline |
Return a unique runtime id (id-runtime, idr, since 'rid' has other meaning.
|
inline |
Return true if the Record points to a valid state block.
Referenced by fe::ext::AccessView::blat(), fe::ext::TireISystem::compile(), fe::ext::BrushTireSystem::compile(), fe::RecordCookbook::cook_internal(), fe::ext::RecordView::finalize(), fe::ext::AccessView::MyF32(), fe::ext::DrivelineISystem::perform(), and fe::ext::RecordView::produce().
|
inline |
Return the Layout.
Referenced by fe::Scope::finalize().
|
inlineprivate |
Return a raw pointer to the Layout.
Mainly intended for Accessor for speed.
|
inlineprivate |
Set the state block.