/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Private Member Functions | Private Attributes
FileDetailsFromRecord Class Reference

#include <DetailsFromRecordSvc.h>

Inheritance diagram for FileDetailsFromRecord:
Inheritance graph
[legend]
Collaboration diagram for FileDetailsFromRecord:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 FileDetailsFromRecord (const DybDaq::FileStartRecord &record, const DybDaq::FileNameStrings &names)
 Creates an instance of this class.
virtual ~FileDetailsFromRecord ()
 Creates an instance of this class.
virtual unsigned int fileNumber () const
 Returns the file number within the run and this sequence of files.
virtual std::string fileName () const
 Returns the name of the DAQ file.
virtual TimeStampwhenStarted () const
 Returns the data and time the file was started.

Private Member Functions

 FileDetailsFromRecord ()
 Suppress default.
 FileDetailsFromRecord (const FileDetailsFromRecord &rhs)
 Suppress default.
FileDetailsFromRecordoperator= (const DaqFileDetails &rhs)
 Suppress default.

Private Attributes

const DybDaq::FileStartRecordm_record
 The FileStartRecord used by this instance.
const DybDaq::FileNameStringsm_names
 The FileNameStrings used by this instance.

Detailed Description

Definition at line 76 of file DetailsFromRecordSvc.h.


Constructor & Destructor Documentation

FileDetailsFromRecord::FileDetailsFromRecord ( const DybDaq::FileStartRecord record,
const DybDaq::FileNameStrings names 
)

Creates an instance of this class.

Definition at line 35 of file DetailsFromRecordSvc.cc.

                                                                           :
  m_record(record),
  m_names(names) {
}
FileDetailsFromRecord::~FileDetailsFromRecord ( ) [virtual]

Creates an instance of this class.

Definition at line 41 of file DetailsFromRecordSvc.cc.

                                              {
}
FileDetailsFromRecord::FileDetailsFromRecord ( ) [private]

Suppress default.

FileDetailsFromRecord::FileDetailsFromRecord ( const FileDetailsFromRecord rhs) [private]

Suppress default.


Member Function Documentation

unsigned int FileDetailsFromRecord::fileNumber ( ) const [virtual]

Returns the file number within the run and this sequence of files.

Implements DaqFileDetails.

Definition at line 44 of file DetailsFromRecordSvc.cc.

                                                     {
  return m_record.fileNumber();
}
std::string FileDetailsFromRecord::fileName ( ) const [virtual]

Returns the name of the DAQ file.

Implements DaqFileDetails.

Definition at line 48 of file DetailsFromRecordSvc.cc.

                                                {
  return m_names.fileBase() + ".data";
}
TimeStamp & FileDetailsFromRecord::whenStarted ( ) const [virtual]

Returns the data and time the file was started.

Implements DaqFileDetails.

Definition at line 52 of file DetailsFromRecordSvc.cc.

                                                    {
  return *((TimeStamp*)0);
}
FileDetailsFromRecord& FileDetailsFromRecord::operator= ( const DaqFileDetails rhs) [private]

Suppress default.

Reimplemented from DaqFileDetails.


Member Data Documentation

The FileStartRecord used by this instance.

Definition at line 127 of file DetailsFromRecordSvc.h.

The FileNameStrings used by this instance.

Definition at line 132 of file DetailsFromRecordSvc.h.


The documentation for this class was generated from the following files:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 10:15:32 for DaqFormatModules by doxygen 1.7.4