Speeduino
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
page_entity_t Struct Reference

#include <pages.h>

Inheritance diagram for page_entity_t:
Inheritance graph
[legend]
Collaboration diagram for page_entity_t:
Collaboration graph
[legend]

Public Member Functions

constexpr page_entity_t (void)
 
constexpr page_entity_t (const entity_t &entity, uint16_t base)
 
bool isPageAddressWithin (uint16_t pageAddress) const
 Check if the offset is within the entity address range.
 
- Public Member Functions inherited from entity_t
constexpr entity_t (void)
 
constexpr entity_t (EntityType theType, uint16_t theSize)
 
constexpr entity_t (table3d_t *table, TableType key, uint16_t theSize)
 
constexpr entity_t (config_page_t *entity, uint16_t theSize)
 
bool isEntityAddressWithin (uint16_t entityAddress) const
 

Public Attributes

uint16_t start
 
- Public Attributes inherited from entity_t
EntityType type
 The entity type.
 
union { 
 
   table3d_t *   pTable 
 If the entity is a table, this points to the table. More...
 
   config_page_t *   pRaw 
 If the entity is a raw block, this points to it. More...
 
};  
 
TableType table_key = TableType::table_type_None
 If the entity is a table, this can be used to get the table type.
 
uint16_t size = 0U
 Size of the entity in bytes on the page
 

Constructor & Destructor Documentation

◆ page_entity_t() [1/2]

constexpr page_entity_t::page_entity_t ( void  )
inlineconstexpr

◆ page_entity_t() [2/2]

constexpr page_entity_t::page_entity_t ( const entity_t entity,
uint16_t  base 
)
inlineexplicitconstexpr

Member Function Documentation

◆ isPageAddressWithin()

bool page_entity_t::isPageAddressWithin ( uint16_t  pageAddress) const
inline

Check if the offset is within the entity address range.

Parameters
pageAddressAddress offset from the start of the page
Returns
true if the offset is within the entity address range, false otherwise
Here is the call graph for this function:

Member Data Documentation

◆ start

uint16_t page_entity_t::start

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