Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Development of the generic format API #110

Closed
wants to merge 13 commits into from

Commits on Apr 6, 2016

  1. Configuration menu
    Copy the full SHA
    10f2b10 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2016

  1. Updating the primitive data headers

    The update concludes the discussion in the CWG4 meeting
    matthiasrichter committed Apr 14, 2016
    Configuration menu
    Copy the full SHA
    65f9256 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7301a7d View commit details
    Browse the repository at this point in the history
  3. Extending message list class to allow two template parameters

    Introducing template parameters for the header message and the payload message.
    Correcting some typos.
    matthiasrichter committed Apr 14, 2016
    Configuration menu
    Copy the full SHA
    4cdf46e View commit details
    Browse the repository at this point in the history
  4. Adding test executable for message_list template

    The test is to first extend a compilation check and can be later
    extended to a unit test
    matthiasrichter committed Apr 14, 2016
    Configuration menu
    Copy the full SHA
    41ea1d6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    df1a68d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    54d5749 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    42e76a3 View commit details
    Browse the repository at this point in the history
  8. Adjusting new development to the proposed directory structure

    Creating new module 'DataFormats' on top level. The recent development
    regarding data formats goes into DataFormats/Generic.
    matthiasrichter committed Apr 14, 2016
    Configuration menu
    Copy the full SHA
    e03f1f7 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    64e43d1 View commit details
    Browse the repository at this point in the history
  10. adding documentation

    matthiasrichter committed Apr 14, 2016
    Configuration menu
    Copy the full SHA
    59891b2 View commit details
    Browse the repository at this point in the history
  11. Adding notice about usage of the data format header in the unit test

    The original header definition has served as basis for the discussion,
    the final definition has been developed elsewhere and is soon to be
    merged. The very early definition is temporarily kept for the unit test.
    matthiasrichter committed Apr 14, 2016
    Configuration menu
    Copy the full SHA
    11423a9 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2016

  1. Bugfix: missing return statement in custom ostream operator<< added

    When using clang, writing to output stream caused segmentation violation
    because the stream object was not returned by the operator which has been
    used just before.
    Adding also some other return statements (though irrelevant for the crash).
    
    Crash log
    * thread #1: tid = 0x597d9, 0x0000000100001f7f testMessageList`void print_list<AliceO2::Format::messageList<TestMsg, SimpleHeader_t> >(list=<unavailable>, hdrsel=<unavailable>) + 191 at testMessageList.cxx:77, queue = 'com.apple.main-thread', stop reason = EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)
        frame #0: 0x0000000100001f7f testMessageList`void print_list<AliceO2::Format::messageList<TestMsg, SimpleHeader_t> >(list=<unavailable>, hdrsel=<unavailable>) + 191 at testMessageList.cxx:77
       74          it != list.end();
       75          ++it) {
       76       // the iterator defines a conversion operator to the header type
    -> 77       std::cout << static_cast<typename ListType::header_type>(it) << std::end;
       78       // dereferencing of the iterator gives the payload
       79       std::cout << *it << std::end;
       80     }
    matthiasrichter committed Apr 19, 2016
    Configuration menu
    Copy the full SHA
    2cf7d88 View commit details
    Browse the repository at this point in the history