All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
castor::net::Defragment< Type, Decoder > Class Template Reference

#include <Defragment.h>

List of all members.

Classes

struct  FragmentInfo
struct  KeyInfo

Public Member Functions

 Defragment (unsigned long long invPeriod)
TypePtr getMessage (const char *data, size_t offset, size_t count, const NetAddress &address)

Protected Types

typedef boost::shared_ptr
< Decoder
DecoderPtr
typedef std::map< KeyInfo,
FragmentInfo
FragmentMap
typedef boost::shared_ptr< Type > TypePtr

Protected Member Functions

void invalidate ()

Protected Attributes

FragmentMap fragments
unsigned long long invPeriod
unsigned long long lastInvalidated
boost::mutex monitor
TypePtr reference

Detailed Description

template<class Type, class Decoder>
class castor::net::Defragment< Type, Decoder >

Definition at line 37 of file Defragment.h.


Member Typedef Documentation

template<class Type , class Decoder >
typedef boost::shared_ptr<Decoder> castor::net::Defragment< Type, Decoder >::DecoderPtr [protected]

Definition at line 42 of file Defragment.h.

template<class Type , class Decoder >
typedef std::map<KeyInfo, FragmentInfo> castor::net::Defragment< Type, Decoder >::FragmentMap [protected]

Definition at line 83 of file Defragment.h.

template<class Type , class Decoder >
typedef boost::shared_ptr<Type> castor::net::Defragment< Type, Decoder >::TypePtr [protected]

Definition at line 41 of file Defragment.h.


Constructor & Destructor Documentation

template<class Type , class Decoder >
castor::net::Defragment< Type, Decoder >::Defragment ( unsigned long long  invPeriod) [inline]

Definition at line 95 of file Defragment.h.


Member Function Documentation

template<class Type , class Decoder >
TypePtr castor::net::Defragment< Type, Decoder >::getMessage ( const char *  data,
size_t  offset,
size_t  count,
const NetAddress address 
) [inline]

Definition at line 101 of file Defragment.h.

template<class Type , class Decoder >
void castor::net::Defragment< Type, Decoder >::invalidate ( ) [inline, protected]

Definition at line 148 of file Defragment.h.


Member Data Documentation

template<class Type , class Decoder >
FragmentMap castor::net::Defragment< Type, Decoder >::fragments [protected]

Definition at line 85 of file Defragment.h.

template<class Type , class Decoder >
unsigned long long castor::net::Defragment< Type, Decoder >::invPeriod [protected]

Definition at line 90 of file Defragment.h.

template<class Type , class Decoder >
unsigned long long castor::net::Defragment< Type, Decoder >::lastInvalidated [protected]

Definition at line 91 of file Defragment.h.

template<class Type , class Decoder >
boost::mutex castor::net::Defragment< Type, Decoder >::monitor [protected]

Definition at line 88 of file Defragment.h.

template<class Type , class Decoder >
TypePtr castor::net::Defragment< Type, Decoder >::reference [protected]

Definition at line 86 of file Defragment.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


Castor
Author(s): Carpe Noctem
autogenerated on Fri Nov 8 2013 11:05:41