Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Patcher Class Reference

Applies a patch synchronously. More...

#include <patcher.h>

List of all members.

Public Member Functions

 Patcher (void)
 Patcher (PointerTo< Buffer > buffer)
virtual ~Patcher (void)
int initiate (Filename &patch, Filename &infile)
int run (void)
float get_progress (void) const

Private Member Functions

void init (PointerTo< Buffer > buffer)

Private Attributes

PointerTo< Buffer_buffer
Patchfile_patchfile


Detailed Description

Applies a patch synchronously.

Definition at line 41 of file patcher.h.


Constructor & Destructor Documentation

Patcher::Patcher void   ) 
 

Definition at line 40 of file patcher.cxx.

References init().

Patcher::Patcher PointerTo< Buffer buffer  ) 
 

Definition at line 53 of file patcher.cxx.

References _buffer, _patchfile, nassertv, and NULL.

Patcher::~Patcher void   )  [virtual]
 

Definition at line 81 of file patcher.cxx.

References _patchfile, and Patchfile::run().


Member Function Documentation

float Patcher::get_progress void   )  const [inline]
 

Definition at line 30 of file patcher.I.

void Patcher::init PointerTo< Buffer buffer  )  [private]
 

Definition at line 65 of file patcher.cxx.

References _patchfile.

Referenced by Patcher().

int Patcher::initiate Filename patch,
Filename infile
 

Definition at line 93 of file patcher.cxx.

int Patcher::run void   ) 
 

Definition at line 105 of file patcher.cxx.


Member Data Documentation

PointerTo< Buffer > Patcher::_buffer [private]
 

Definition at line 54 of file patcher.h.

Referenced by Patcher().

Patchfile* Patcher::_patchfile [private]
 

Definition at line 55 of file patcher.h.

Referenced by init(), Patcher(), and ~Patcher().


The documentation for this class was generated from the following files:
Generated on Fri May 2 00:53:15 2003 for Panda by doxygen1.3