Slicer  4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
vtkHTTPHandler.h
Go to the documentation of this file.
1 #ifndef __vtkHTTPHandler_h
2 #define __vtkHTTPHandler_h
3 
4 // RemoteIO includes
5 #include <vtkRemoteIOConfigure.h>
6 #include "vtkRemoteIO.h"
7 
8 // VTK includes
9 #include <vtkObject.h>
10 #include <vtkObjectFactory.h>
11 
12 // MRML includes
13 #include "vtkURIHandler.h"
14 
15 class VTK_RemoteIO_EXPORT vtkHTTPHandler : public vtkURIHandler
16 {
17 public:
18 
20  static vtkHTTPHandler *New();
21  vtkTypeMacro(vtkHTTPHandler, vtkURIHandler);
22  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
23 
26  virtual int CanHandleURI ( const char *uri ) VTK_OVERRIDE;
27 
32  void SetForbidReuse(int value);
33  int GetForbidReuse();
34 
36  virtual void StageFileRead(const char * source, const char * destination) VTK_OVERRIDE;
38  virtual void StageFileWrite(const char * source, const char * destination) VTK_OVERRIDE;
40  virtual void InitTransfer () VTK_OVERRIDE;
41  virtual int CloseTransfer () VTK_OVERRIDE;
42 
43 protected:
45  virtual ~vtkHTTPHandler();
46  vtkHTTPHandler(const vtkHTTPHandler&);
47  void operator=(const vtkHTTPHandler&);
48 
49 private:
50  class vtkInternal;
51  vtkInternal* Internal;
52 };
53 
54 #endif
virtual int CanHandleURI(const char *vtkNotUsed(uri))
need something that goes the other way too...
Definition: vtkURIHandler.h:48
static vtkURIHandler * New()
The Usual vtk class functions.
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
virtual void StageFileRead(const char *source, const char *destination)
virtual void StageFileWrite(const char *source, const char *destination)