Changeset 281 in pacpusframework for trunk/include/Pacpus/kernel/ComponentBase.h


Ignore:
Timestamp:
03/20/14 14:35:01 (10 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.