Services - tools - models - for embedded software development
Embecosm divider strip
Prev  Next

4.4.3.  MpEntry Struct

MpEntry is declared as a struct, rather than a class, to emphasize it is purely a data structure, with no explicit member functions. It represents a single matchpoint in the hash table.

There are three public member variables:

There is one private variable, next, a pointer to MpEntry, used to form lists of entries in the hash table. MpHash is declared a friend class, giving it access to this variable to construct the lists.

Embecosm divider strip