Jpp  18.2.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | Friends | List of all members
JACOUSTICS::JCounter Struct Reference

Acoustic counter. More...

#include <JCounter.hh>

Inheritance diagram for JACOUSTICS::JCounter:
JACOUSTICS::JEKey JACOUSTICS::JEvent JACOUSTICS::JHit

Public Member Functions

 JCounter ()
 Default constructor. More...
 
 JCounter (const int counter)
 Constructor. More...
 
int getCounter () const
 Get counter. More...
 
 ClassDefNV (JCounter, 1)
 

Protected Attributes

int counter
 

Friends

JReaderoperator>> (JReader &in, JCounter &object)
 Read counter from input. More...
 
JWriteroperator<< (JWriter &out, const JCounter &object)
 Write counter to output. More...
 

Detailed Description

Acoustic counter.

Definition at line 27 of file JAcoustics/JCounter.hh.

Constructor & Destructor Documentation

JACOUSTICS::JCounter::JCounter ( )
inline

Default constructor.

Definition at line 31 of file JAcoustics/JCounter.hh.

31  :
32  counter(0)
33  {}
JACOUSTICS::JCounter::JCounter ( const int  counter)
inline

Constructor.

Parameters
countercounter

Definition at line 41 of file JAcoustics/JCounter.hh.

41  :
43  {}

Member Function Documentation

int JACOUSTICS::JCounter::getCounter ( ) const
inline

Get counter.

Returns
counter

Definition at line 51 of file JAcoustics/JCounter.hh.

52  {
53  return counter;
54  }
JACOUSTICS::JCounter::ClassDefNV ( JCounter  ,
 
)

Friends And Related Function Documentation

JReader& operator>> ( JReader in,
JCounter object 
)
friend

Read counter from input.

Parameters
inreader
objectcounter
Returns
reader

Definition at line 64 of file JAcoustics/JCounter.hh.

65  {
66  in >> object.counter;
67 
68  return in;
69  }
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
Definition: JCanberra.sh:46
JWriter& operator<< ( JWriter out,
const JCounter object 
)
friend

Write counter to output.

Parameters
outwriter
objectcounter
Returns
writer

Definition at line 79 of file JAcoustics/JCounter.hh.

80  {
81  out << object.counter;
82 
83  return out;
84  }

Member Data Documentation

int JACOUSTICS::JCounter::counter
protected

Definition at line 89 of file JAcoustics/JCounter.hh.


The documentation for this struct was generated from the following file: