This file is indexed.

/usr/include/paraview/vtkSMDataDeliveryManager.h is in paraview-dev 5.0.1+dfsg1-4.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
/*=========================================================================

  Program:   ParaView
  Module:    $RCSfile$

  Copyright (c) Kitware, Inc.
  All rights reserved.
  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.

     This software is distributed WITHOUT ANY WARRANTY; without even
     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
     PURPOSE.  See the above copyright notice for more information.

=========================================================================*/
// .NAME vtkSMDataDeliveryManager - server-manager class for
// vtkPVDataDeliveryManager.
// .SECTION Description
// vtkSMDataDeliveryManager is the server-manager wrapper for
// vtkPVDataDeliveryManager. It manages calling on methods on instances of
// vtkPVDataDeliveryManager. Before every render call, vtkSMRenderViewProxy
// calls vtkSMDataDeliveryManager::Deliver() to ensure that any geometries that
// need to be delivered are explicitly delivered. This separating into
// Update-Deliver-Render calls ensures makes it possible to extend the framework
// for streaming, in future.
//
// The streaming components of this class are experimental and will be changed.

#ifndef vtkSMDataDeliveryManager_h
#define vtkSMDataDeliveryManager_h

#include "vtkPVServerManagerRenderingModule.h" //needed for exports
#include "vtkSMObject.h"
#include "vtkWeakPointer.h" // needed for iVars
class vtkSMViewProxy;

class VTKPVSERVERMANAGERRENDERING_EXPORT vtkSMDataDeliveryManager : public vtkSMObject
{
public:
  static vtkSMDataDeliveryManager* New();
  vtkTypeMacro(vtkSMDataDeliveryManager, vtkSMObject);
  void PrintSelf(ostream& os, vtkIndent indent);

  // Description:
  // Get/Set the view proxy for whom we are delivering the data.
  void SetViewProxy(vtkSMViewProxy*);

  // Description:
  // Called to request delivery of the geometry. This checks the client-side
  // vtkPVDataDeliveryManager instance to see if any geometries need to be
  // delivered and then requests delivery for those.
  void Deliver(bool interactive);

  // Description:
  // EXPERIMEMTAL: Delivery when streaming is enabled.
  // Returns true when some new data was streamed. When this returns false, it
  // implies that there is no more data to stream or streaming is not enabled.
  bool DeliverStreamedPieces();

//BTX
protected:
  vtkSMDataDeliveryManager();
  ~vtkSMDataDeliveryManager();

  vtkWeakPointer<vtkSMViewProxy> ViewProxy;

  enum
    {
    LOCAL_RENDERING_AND_FULL_RES=0,
    LOCAL_RENDERING_AND_LOW_RES=1,
    REMOTE_RENDERING_AND_FULL_RES=2,
    REMOTE_RENDERING_AND_LOW_RES=3,
    };
  vtkTimeStamp DeliveryTimestamps[4];

private:
  vtkSMDataDeliveryManager(const vtkSMDataDeliveryManager&); // Not implemented
  void operator=(const vtkSMDataDeliveryManager&); // Not implemented
//ETX
};

#endif