Thrill  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
set_switch_handler Class Reference

Detailed Description

Definition at line 31 of file block_prefetcher.hpp.

+ Collaboration diagram for set_switch_handler:

#include <block_prefetcher.hpp>

Public Member Functions

 set_switch_handler (onoff_switch &_switch, const completion_handler &on_complete)
 
void operator() (request *req, bool success)
 

Private Attributes

completion_handler on_complete_
 
onoff_switchswitch_
 

Constructor & Destructor Documentation

set_switch_handler ( onoff_switch _switch,
const completion_handler on_complete 
)
inline

Definition at line 37 of file block_prefetcher.hpp.

Member Function Documentation

void operator() ( request req,
bool  success 
)
inline

Member Data Documentation

completion_handler on_complete_
private

Definition at line 34 of file block_prefetcher.hpp.

Referenced by set_switch_handler::operator()().

onoff_switch& switch_
private

Definition at line 33 of file block_prefetcher.hpp.

Referenced by set_switch_handler::operator()().


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