Shared memory page identifier, address, or handler. More...

#include <Page.h>

Collaboration diagram for Ipc::Mem::PageId:

Public Types

enum  Purpose {
  cachePage,
  ioPage,
  maxPurpose
}
 
typedef const uint32_t PageId::* SaferBool
 

Public Member Functions

 PageId ()
 
bool set () const
 true if and only if both critical components have been initialized More...
 
 operator SaferBool () const
 

Public Attributes

uint32_t pool
 page pool ID within Squid More...
 
uint32_t number
 page number within the segment More...
 
Purpose purpose
 page purpose More...
 

Detailed Description

Definition at line 21 of file Page.h.

Member Typedef Documentation

typedef const uint32_t PageId::* Ipc::Mem::PageId::SaferBool

Definition at line 30 of file Page.h.

Member Enumeration Documentation

Enumerator
cachePage 
ioPage 
maxPurpose 

Definition at line 37 of file Page.h.

Constructor & Destructor Documentation

Ipc::Mem::PageId::PageId ( )
inline

Definition at line 24 of file Page.h.

Member Function Documentation

Ipc::Mem::PageId::operator SaferBool ( ) const
inline

Definition at line 31 of file Page.h.

References NULL, number, and set().

bool Ipc::Mem::PageId::set ( ) const
inline

Definition at line 27 of file Page.h.

References number, and pool.

Referenced by operator SaferBool(), MemStore::reserveSapForWriting(), and Rock::SwapDir::useFreeSlot().

Member Data Documentation

Purpose Ipc::Mem::PageId::purpose

Definition at line 38 of file Page.h.

Referenced by Ipc::Mem::PagePool::get(), and Ipc::Mem::PagePool::put().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors