Ignore:
Timestamp:
Apr 7, 2011, 12:39:27 PM (9 years ago)
Author:
tbretz
Message:
Implemented event description into all kind of events.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/Event.h

    r10183 r10299  
    77{
    88private:
    9     std::string fName;       /// A name associated with the event
    10     std::string fFormat;     /// A string describing the format of the data
     9    std::string fName;        /// A name associated with the event
     10    std::string fFormat;      /// A string describing the format of the data
     11    std::string fDescription; /// A human readable description of the event
    1112
    12     std::vector<char> fData; /// Data associated with this event
     13    std::vector<char> fData;  /// Data associated with this event
    1314
    14     Time  fTime;             /// Time stamp
     15    Time  fTime;              /// Time stamp
    1516
    1617public:
     
    2223    Event(const EventImp &imp, const char *name, size_t siz);
    2324
     25    void SetDescription(const std::string &str) { fDescription=str; }
     26    std::string GetDescription() const { return fDescription; }
    2427
    2528    /// Return the stored name of the event
Note: See TracChangeset for help on using the changeset viewer.