#include <vpr/IO/Stats/IOStatsStrategyAdapter.h>
Public Member Functions | |
| virtual void | read_s (vpr::ReturnStatus &status, void *buffer, const vpr::Uint32 length, vpr::Uint32 &bytesRead, const vpr::Interval timeout=vpr::Interval::NoTimeout) |
| virtual void | readn_s (vpr::ReturnStatus &status, void *buffer, const vpr::Uint32 length, vpr::Uint32 &bytesRead, const vpr::Interval timeout=vpr::Interval::NoTimeout) |
| virtual void | write_s (vpr::ReturnStatus &status, const void *buffer, const vpr::Uint32 length, vpr::Uint32 &bytesWritten, const vpr::Interval timeout=vpr::Interval::NoTimeout) |
It multiply inherits a new class from the two classes to create a single new class. It overrides the virtual functions read_s(), readn_s(), and write_s() to create new functions that call the parent functions in the order that they were specified as template parameters. All types here must be based on the vpr::BaseIOStatsStrategy_i interface.
| BASE_ONE | The first base class. | |
| BASE_TWO | The second base class. |
Definition at line 64 of file IOStatsStrategyAdapter.h.
| virtual void vpr::IOStatsStrategyAdapter< BASE_ONE, BASE_TWO >::read_s | ( | vpr::ReturnStatus & | status, | |
| void * | buffer, | |||
| const vpr::Uint32 | length, | |||
| vpr::Uint32 & | bytesRead, | |||
| const vpr::Interval | timeout = vpr::Interval::NoTimeout | |||
| ) | [inline, virtual] |
Definition at line 67 of file IOStatsStrategyAdapter.h.
00070 { 00071 BASE_ONE::read_s(status, buffer, length, bytesRead, timeout); 00072 BASE_TWO::read_s(status, buffer, length, bytesRead, timeout); 00073 }
| virtual void vpr::IOStatsStrategyAdapter< BASE_ONE, BASE_TWO >::readn_s | ( | vpr::ReturnStatus & | status, | |
| void * | buffer, | |||
| const vpr::Uint32 | length, | |||
| vpr::Uint32 & | bytesRead, | |||
| const vpr::Interval | timeout = vpr::Interval::NoTimeout | |||
| ) | [inline, virtual] |
Definition at line 75 of file IOStatsStrategyAdapter.h.
00078 { 00079 BASE_ONE::readn_s(status, buffer, length, bytesRead, timeout); 00080 BASE_TWO::readn_s(status, buffer, length, bytesRead, timeout); 00081 }
| virtual void vpr::IOStatsStrategyAdapter< BASE_ONE, BASE_TWO >::write_s | ( | vpr::ReturnStatus & | status, | |
| const void * | buffer, | |||
| const vpr::Uint32 | length, | |||
| vpr::Uint32 & | bytesWritten, | |||
| const vpr::Interval | timeout = vpr::Interval::NoTimeout | |||
| ) | [inline, virtual] |
Definition at line 83 of file IOStatsStrategyAdapter.h.
00086 { 00087 BASE_ONE::write_s(status, buffer, length, bytesWritten, timeout); 00088 BASE_TWO::write_s(status, buffer, length, bytesWritten, timeout); 00089 }
1.5.1