BufferedRPCChannel< t_pBuffer, t_BufferSize > Class Template Reference

Provides a more convenient way of using GuestRPC. More...

#include <vmwrpc.h>

Inherits VMWareRPCChannel.

Collaboration diagram for BufferedRPCChannel< t_pBuffer, t_BufferSize >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 BufferedRPCChannel ()
 ~BufferedRPCChannel ()
bool PrepareSend (unsigned SendSize)
bool SendPartial (const void *pData, unsigned Size)
unsigned GetReplySize ()
bool Receive (void *pData, unsigned Size)
bool Valid ()
bool EndReceive ()

Private Types

enum  {
  Idle, Sending, Sent, Receiving,
  Received
}

Private Member Functions

bool SendBufferedData ()

Private Attributes

unsigned m_BufferPos
unsigned m_TotalTransferSize
enum BufferedRPCChannel:: { ... }  m_Phase


Detailed Description

template<char * t_pBuffer, unsigned t_BufferSize>
class BufferedRPCChannel< t_pBuffer, t_BufferSize >

Provides a more convenient way of using GuestRPC.

Member Enumeration Documentation

template<char * t_pBuffer, unsigned t_BufferSize>
anonymous enum [private]

Enumerator:
Idle 
Sending 
Sent 
Receiving 
Received 


Constructor & Destructor Documentation

template<char * t_pBuffer, unsigned t_BufferSize>
BufferedRPCChannel< t_pBuffer, t_BufferSize >::BufferedRPCChannel (  )  [inline]

template<char * t_pBuffer, unsigned t_BufferSize>
BufferedRPCChannel< t_pBuffer, t_BufferSize >::~BufferedRPCChannel (  )  [inline]


Member Function Documentation

template<char * t_pBuffer, unsigned t_BufferSize>
bool BufferedRPCChannel< t_pBuffer, t_BufferSize >::EndReceive (  )  [inline]

Reimplemented from VMWareRPCChannel.

Here is the call graph for this function:

template<char * t_pBuffer, unsigned t_BufferSize>
unsigned BufferedRPCChannel< t_pBuffer, t_BufferSize >::GetReplySize (  )  [inline]

Reimplemented from VMWareRPCChannel.

Here is the call graph for this function:

template<char * t_pBuffer, unsigned t_BufferSize>
bool BufferedRPCChannel< t_pBuffer, t_BufferSize >::PrepareSend ( unsigned  SendSize  )  [inline]

template<char * t_pBuffer, unsigned t_BufferSize>
bool BufferedRPCChannel< t_pBuffer, t_BufferSize >::Receive ( void *  pData,
unsigned  Size 
) [inline]

Reimplemented from VMWareRPCChannel.

template<char * t_pBuffer, unsigned t_BufferSize>
bool BufferedRPCChannel< t_pBuffer, t_BufferSize >::SendBufferedData (  )  [inline, private]

template<char * t_pBuffer, unsigned t_BufferSize>
bool BufferedRPCChannel< t_pBuffer, t_BufferSize >::SendPartial ( const void *  pData,
unsigned  Size 
) [inline]

template<char * t_pBuffer, unsigned t_BufferSize>
bool BufferedRPCChannel< t_pBuffer, t_BufferSize >::Valid (  )  [inline]

Reimplemented from VMWareRPCChannel.


Member Data Documentation

template<char * t_pBuffer, unsigned t_BufferSize>
unsigned BufferedRPCChannel< t_pBuffer, t_BufferSize >::m_BufferPos [private]

enum { ... } BufferedRPCChannel< t_pBuffer, t_BufferSize >::m_Phase [private]

template<char * t_pBuffer, unsigned t_BufferSize>
unsigned BufferedRPCChannel< t_pBuffer, t_BufferSize >::m_TotalTransferSize [private]


The documentation for this class was generated from the following file:
SourceForge.net Logo