Inheritance diagram for RandomAccessFileDeviceTest::Binding:
Public Member Functions | |
Binding (Listener &listenerInit, uint cbInit, PBuffer pBufferInit) | |
virtual | ~Binding () |
virtual PBuffer | getBuffer () const |
| |
virtual uint | getBufferSize () const |
| |
virtual void | notifyTransferCompletion (bool bSuccess) |
Receives notification when a transfer completes. | |
Private Attributes | |
Listener & | listener |
uint | cb |
PBuffer | pBuffer |
Definition at line 178 of file RandomAccessFileDeviceTest.cpp.
RandomAccessFileDeviceTest::Binding::Binding | ( | Listener & | listenerInit, | |
uint | cbInit, | |||
PBuffer | pBufferInit | |||
) | [inline, explicit] |
virtual RandomAccessFileDeviceTest::Binding::~Binding | ( | ) | [inline, virtual] |
virtual PBuffer RandomAccessFileDeviceTest::Binding::getBuffer | ( | ) | const [inline, virtual] |
Implements RandomAccessRequestBinding.
Definition at line 194 of file RandomAccessFileDeviceTest.cpp.
References pBuffer.
00195 { 00196 return pBuffer; 00197 }
virtual uint RandomAccessFileDeviceTest::Binding::getBufferSize | ( | ) | const [inline, virtual] |
Implements RandomAccessRequestBinding.
Definition at line 199 of file RandomAccessFileDeviceTest.cpp.
References cb.
00200 { 00201 return cb; 00202 }
virtual void RandomAccessFileDeviceTest::Binding::notifyTransferCompletion | ( | bool | bSuccess | ) | [inline, virtual] |
Receives notification when a transfer completes.
bSuccess | true if the full buffer size was successfully transferred for this binding |
Implements RandomAccessRequestBinding.
Definition at line 204 of file RandomAccessFileDeviceTest.cpp.
References listener, and RandomAccessFileDeviceTest::Listener::notifyTransferCompletion().
00205 { 00206 listener.notifyTransferCompletion(bSuccess); 00207 }
Definition at line 180 of file RandomAccessFileDeviceTest.cpp.
Referenced by notifyTransferCompletion().
uint RandomAccessFileDeviceTest::Binding::cb [private] |