This file is indexed.

/usr/include/odinseq/seqdelay.h is in libodin-dev 1.8.8-2ubuntu1.

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
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
/***************************************************************************
                          seqdelay.h  -  description
                             -------------------
    begin                : Wed Aug 8 2001
    copyright            : (C) 2000-2014 by Thies H. Jochimsen
    email                : thies@jochimsen.de
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef SEQDELAY_H
#define SEQDELAY_H

#include <odinseq/seqobj.h>
#include <odinseq/seqdur.h>
#include <odinseq/seqdriver.h>


/**
  * @ingroup odinseq_internals
  * The base class for platform specific drivers of delays
  */
class SeqDelayDriver : public SeqDriverBase {

 public:
  SeqDelayDriver() {}
  virtual ~SeqDelayDriver() {}

  virtual STD_string get_program(programContext& context, double duration, const STD_string& cmd, const STD_string& durcmd) const = 0;

  virtual SeqDelayDriver* clone_driver() const = 0;
};

///////////////////////////////////////////////////////////////


/**
  * @addtogroup odinseq
  * @{
  */

/**
  * \brief  Timing delay
  *
  * This class represents a delay with an optional command.
  */
class SeqDelay : public SeqObjBase, public SeqDur {

 public:

/**
  * Constructs a delay labeled 'object_label' with the following properties:
  * - delayduration: The duration of the delay.
  * - command:       An optional command that will be issued during the delay in
  *                  the pulse program.
  * - durationVariable: If the the command that specifies the delay duration in
  *                  the pulse program should differ from the default, it can be
  *                  overwritten by this string.
  */
  SeqDelay(const STD_string& object_label = "unnamedSeqDelay",float delayduration=0.0,
                    const STD_string& command="",const STD_string& durationVariable="" );

/**
  * Constructs a delay which is a copy of 'sd'
  */
  SeqDelay(const SeqDelay& sd);

/**
  * This assignment operator will make this object become an exact copy of 'sd'.
  */
  SeqDelay& operator = (const SeqDelay& sd);

/**
  * This assignment operator can be used to specify the duration of the delay
  */
  SeqDelay& operator = (float dur);

/**
  * Specifies the extra command for the delay
  */
  SeqDelay& set_command(const STD_string& command);


  // overloading virtual function from SeqTreeObj
  STD_string get_program(programContext& context) const;


 private:
  mutable SeqDriverInterface<SeqDelayDriver> delaydriver;
 
  STD_string cmd;
  STD_string durcmd;
};




/** @}
  */


#endif