Changeset 281 in pacpusframework for trunk/include/Pacpus


Ignore:
Timestamp:
Mar 20, 2014, 2:35:01 PM (11 years ago)
Author:
Marek Kurdej
Message:

Transporting and catching exceptions in threads.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/Pacpus/kernel/ComponentBase.h

    r272 r281  
    3838class QWidget;
    3939
    40 namespace boost {
    41 namespace program_options {
     40namespace boost
     41{
     42class exception_ptr;
     43
     44namespace program_options
     45{
    4246    class options_description_easy_init;
    43 }
    44 }
     47} // namespace program_options
     48
     49} // namespace boost
    4550
    4651namespace pacpus {
     
    200205    /// called by the ComponentManager to start the component
    201206    int startComponent();
     207    void startComponentInThread();
     208    void startComponentWithException(boost::exception_ptr& error);
    202209
    203210    /// called by the ComponentManager to stop the component
Note: See TracChangeset for help on using the changeset viewer.