Changeset 11154


Ignore:
Timestamp:
06/23/11 21:04:49 (13 years ago)
Author:
tbretz
Message:
Added constructor to EventHeader.
File:
1 edited

Legend:

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

    r10973 r11154  
    159159        uint16_t fStatus;
    160160        //
    161         uint16_t fTriggerCrc;
     161        uint16_t fTriggerCrc;          // Receiver timeout / CRC ; 1 byte each
    162162        uint16_t fTriggerType;
    163163        uint32_t fTriggerId;
     
    182182#ifdef __cplusplus
    183183        EventHeader() { init(*this); }
     184        EventHeader(const std::vector<uint16_t> &vec) { *this = vec; }
    184185
    185186        void operator=(const std::vector<uint16_t> &vec)
Note: See TracChangeset for help on using the changeset viewer.