43 template<
typename T >
46 uint32_t lSize (
sizeof ( T ) );
48 memcpy ( lStartPtr , aPtr , lSize );
53 template<
typename T >
56 uint32_t lSize (
sizeof ( T ) );
58 memcpy ( lStartPtr , &aRef , lSize );
63 template<
typename T >
66 uint32_t lSize (
sizeof ( T ) );
67 mReplyBuffer.push_back ( std::make_pair ( ( uint8_t* ) ( aPtr ) , lSize ) );
71 template<
typename T >
74 uint32_t lSize (
sizeof ( T ) );
75 mReplyBuffer.push_back ( std::make_pair ( ( uint8_t* ) ( &aRef ) , lSize ) );
std::deque< std::pair< uint8_t *, uint32_t > > mReplyBuffer
The queue of reply destinations.
uint32_t mReplyCounter
The number of bytes that are currently expected by the reply buffer.
std::vector< uint8_t > mSendBuffer
The start location of the memory buffer.
uint8_t * send(const T *aPtr)
Helper function to copy an object to the send buffer.
void receive(T *aPtr)
Helper function to add a destination object to the reply queue.
uint32_t mSendCounter
The number of bytes that are currently in the send buffer.