partdata.h File Reference


Detailed Description

Interface for PartData class.

Definition in file partdata.h.

#include <hn/osdep.h>
#include <hn/hnfwd.h>
#include <hn/rangelist.h>
#include <hn/event.h>
#include <boost/filesystem/path.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/enable_shared_from_this.hpp>
#include <map>
#include <list>

Include dependency graph for partdata.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Namespaces

namespace  Detail

Enumerations

enum  PDEvent {
  PD_ADDED = 1, PD_DATA_ADDED, PD_DATA_FLUSHED, PD_DESTROY,
  PD_VERIFYING, PD_MOVING, PD_COMPLETE
}
 Events emitted from PartData object. More...

Enumeration Type Documentation

enum PDEvent
 

Events emitted from PartData object.

Enumeration values:
PD_ADDED  Posted whenever PartData is constructed.
PD_DATA_ADDED  Posted whenever data is added to PartData.
PD_DATA_FLUSHED  Posted whenever a partdata flushes buffers.
PD_DESTROY  Posted whenever a partdata is about to be destroyed.
PD_VERIFYING  When file is complete, but in verification phase.
PD_MOVING  When file is verified, and moving is in progress.
PD_COMPLETE  File has been completed and placed in Incoming dir.

Definition at line 37 of file partdata.h.