tbx  0.7.5
Public Member Functions | List of all members
tbx::DataReceivedEvent Class Reference

Class with details of buffer transferred from another application. More...

#include <loader.h>

Public Member Functions

 DataReceivedEvent (LoadEvent *event, void *buffer, int buffer_size, int received)
 Construct with details of received buffer.
 
const LoadEventload_event () const
 Return o LoadEvent that started the transfer.
 
void * buffer () const
 Return the buffer the transmitted data has been copied too.
 
void buffer (void *buf)
 Set the buffer address for the next bytes received.
 
int buffer_size () const
 Return the buffer size of the current buffer.
 
void buffer_size (int size)
 Set the buffer size for the next transmission from the other application.
 
int received () const
 Number of bytes received.
 
bool more () const
 Return true if more data is to come.
 

Detailed Description

Class with details of buffer transferred from another application.


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