ATLAS Offline Software
Public Member Functions | Static Public Member Functions | List of all members
IPageAccessControlSvc Class Referenceabstract

Interface to a service that monitors memory page accesses. More...

#include <IPageAccessControlSvc.h>

Inheritance diagram for IPageAccessControlSvc:
Collaboration diagram for IPageAccessControlSvc:

Public Member Functions

virtual ~IPageAccessControlSvc ()
 Virtualize D'tor. More...
 
virtual bool startMonitoring ()=0
 In baseline implementation, protect pages and install a SEGV handler that counts the number of accesses to a protected address. More...
 
virtual bool stopMonitoring ()=0
 
virtual bool accessed (const void *address) const =0
 has this pointer been accessed (read/written) More...
 
virtual void report () const =0
 In baseline implementation, controlled via PageAccessControlSvc.OutputLevel. More...
 
virtual bool controlPage (const void *address)=0
 control access to the page containing address More...
 

Static Public Member Functions

static const InterfaceID & interfaceID ()
 Retrieve interface ID. More...
 

Detailed Description

Interface to a service that monitors memory page accesses.

Author
Paolo Calafiura

This interface allows to start and stop the monitoring and to print a report

Definition at line 30 of file IPageAccessControlSvc.h.

Constructor & Destructor Documentation

◆ ~IPageAccessControlSvc()

virtual IPageAccessControlSvc::~IPageAccessControlSvc ( )
inlinevirtual

Virtualize D'tor.

Definition at line 36 of file IPageAccessControlSvc.h.

36 {}

Member Function Documentation

◆ accessed()

virtual bool IPageAccessControlSvc::accessed ( const void *  address) const
pure virtual

has this pointer been accessed (read/written)

Implemented in PageAccessControlSvc.

◆ controlPage()

virtual bool IPageAccessControlSvc::controlPage ( const void *  address)
pure virtual

control access to the page containing address

Implemented in PageAccessControlSvc.

◆ interfaceID()

const InterfaceID & IPageAccessControlSvc::interfaceID ( )
inlinestatic

Retrieve interface ID.

Definition at line 56 of file IPageAccessControlSvc.h.

57 {
58  static const InterfaceID IID_IPageAccessControlSvc("IPageAccessControlSvc", 1, 0);
59  return IID_IPageAccessControlSvc;
60 }

◆ report()

virtual void IPageAccessControlSvc::report ( ) const
pure virtual

In baseline implementation, controlled via PageAccessControlSvc.OutputLevel.

Implemented in PageAccessControlSvc.

◆ startMonitoring()

virtual bool IPageAccessControlSvc::startMonitoring ( )
pure virtual

In baseline implementation, protect pages and install a SEGV handler that counts the number of accesses to a protected address.

Implemented in PageAccessControlSvc.

◆ stopMonitoring()

virtual bool IPageAccessControlSvc::stopMonitoring ( )
pure virtual

Implemented in PageAccessControlSvc.


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