ICP  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
TCPEventBufferT< T > Class Template Reference

#include <TCPEventStreamer.h>

Inheritance diagram for TCPEventBufferT< T >:
Inheritance graph

Public Member Functions

 TCPEventBufferT (const TCPEventBufferT &eb)
 
 TCPEventBufferT (T *b, uint32_t n)
 
virtual int numBytes () const
 
virtual int numBytesRemaining () const
 
virtual const unsigned char * currentBytes () const
 
virtual void advance (int offset)
 
virtual bool done () const
 
virtual TCPEventBufferToperator= (const TCPEventBufferT &eb)
 
- Public Member Functions inherited from TCPEventBuffer
virtual TCPEventBufferoperator= (const TCPEventBuffer &eb)=0
 
virtual ~TCPEventBuffer ()
 

Private Member Functions

 TCPEventBufferT ()
 currrent byte offset More...
 

Private Attributes

uint32_t m_current_pos
 
uint32_t m_num_bytes
 current position in m_bytes stream More...
 
Poco::SharedPtr< T > m_ptr
 total number of bytes to send More...
 
unsigned char * m_bytes
 original data to send More...
 

Detailed Description

template<typename T>
class TCPEventBufferT< T >

Definition at line 22 of file TCPEventStreamer.h.

Constructor & Destructor Documentation

template<typename T >
TCPEventBufferT< T >::TCPEventBufferT ( )
inlineprivate

currrent byte offset

Definition at line 29 of file TCPEventStreamer.h.

template<typename T >
TCPEventBufferT< T >::TCPEventBufferT ( const TCPEventBufferT< T > &  eb)
inline

Definition at line 32 of file TCPEventStreamer.h.

template<typename T >
TCPEventBufferT< T >::TCPEventBufferT ( T *  b,
uint32_t  n 
)
inline

Definition at line 33 of file TCPEventStreamer.h.

Member Function Documentation

template<typename T >
virtual void TCPEventBufferT< T >::advance ( int  offset)
inlinevirtual

Implements TCPEventBuffer.

Definition at line 37 of file TCPEventStreamer.h.

References TCPEventBufferT< T >::m_current_pos.

template<typename T >
virtual const unsigned char* TCPEventBufferT< T >::currentBytes ( ) const
inlinevirtual
template<typename T >
virtual bool TCPEventBufferT< T >::done ( ) const
inlinevirtual
template<typename T >
virtual int TCPEventBufferT< T >::numBytes ( ) const
inlinevirtual

Implements TCPEventBuffer.

Definition at line 34 of file TCPEventStreamer.h.

References TCPEventBufferT< T >::m_num_bytes.

template<typename T >
virtual int TCPEventBufferT< T >::numBytesRemaining ( ) const
inlinevirtual
template<typename T >
virtual TCPEventBufferT& TCPEventBufferT< T >::operator= ( const TCPEventBufferT< T > &  eb)
inlinevirtual

Member Data Documentation

template<typename T >
unsigned char* TCPEventBufferT< T >::m_bytes
private

original data to send

Definition at line 28 of file TCPEventStreamer.h.

Referenced by TCPEventBufferT< T >::currentBytes(), and TCPEventBufferT< T >::operator=().

template<typename T >
uint32_t TCPEventBufferT< T >::m_current_pos
private
template<typename T >
uint32_t TCPEventBufferT< T >::m_num_bytes
private
template<typename T >
Poco::SharedPtr<T> TCPEventBufferT< T >::m_ptr
private

total number of bytes to send

Definition at line 27 of file TCPEventStreamer.h.

Referenced by TCPEventBufferT< T >::operator=().


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