1. 23 Jul, 2015 2 commits
    • Christian Schulte zu Berge's avatar
      Various improvements of the SWIG Lua bindings: · 042cafbc
      Christian Schulte zu Berge authored
      * Added DISOWN typemaps to various functions, where CAMPVis takes ownership of passed pointers. This prevents the Lua garbage collector from deleting those items.
      * Improved sigslot bindings to also support pass-by-value signal arguments.
      * Changed import type of campvis.i from #include to #import
      
      refs #643
      042cafbc
    • Christian Schulte zu Berge's avatar
      Added a field _pipelineName to AutoEvaluationPipeline. This allows to... · 12f36262
      Christian Schulte zu Berge authored
      Added a field _pipelineName to AutoEvaluationPipeline. This allows to implement AutoEvaluationPipeline::getName() so that AutoEvaluationPipeline is no longer abstract. Consequently, the LuaPipeline is no longer needed.
      
      This change was also used to change the AbstractPipeline constructor signature to pass-by-reference instead of pass-by-pointer for the pipeline's DataContainer. This presents the semantics more clearly since the DataContainer must not be 0.
      12f36262
  2. 21 Jul, 2015 1 commit
    • Christian Schulte zu Berge's avatar
      Various fixes: · ab290c65
      Christian Schulte zu Berge authored
      * campvis::deinit() also deinitializes PipelineFactory and ProcessorFactory
      * Fixed signal_manager::waitForSignalQueueFlushed() returning too early -> fixes occasionally failing AbstractProcessorTest
      * Fixed signal_manager::waitForSignalQueueFlushed() waiting for ever in case that the wake-up of signal_manager fails
      ab290c65
  3. 02 Jul, 2015 1 commit
  4. 01 Jul, 2015 1 commit
  5. 09 Jan, 2015 1 commit
  6. 11 Dec, 2014 1 commit
    • Christian Schulte zu Berge's avatar
      Improved implementation of the Runnable interface: · 0314b02a
      Christian Schulte zu Berge authored
      * Added new common base class RunnableWithConditionalWait that directly includes the std::condition_variable
      * RunnableWithConditionalWait::stop() notifies the condition variable repeatedly as long until the thread has stopped. This avoids program hangs at shutdown due to race conditions.
      0314b02a
  7. 29 Oct, 2014 1 commit
    • Christian Schulte zu Berge's avatar
      Introducing AbstractPipeline::s_init and AbstractPipeline::s_deinit signals... · 2393c045
      Christian Schulte zu Berge authored
      Introducing AbstractPipeline::s_init and AbstractPipeline::s_deinit signals (including Lua bindings) as first step to simplify writing entire pipelines as Lua scripts. The signals are emitted as blocking calls (via triggerSignal()) and can be used by Lua scripts to run (de)initialization code in callback functions.
      This was tested with the volumerendererdemo.lua pipeline.
      2393c045
  8. 24 Oct, 2014 2 commits
  9. 23 Oct, 2014 2 commits
  10. 22 Oct, 2014 1 commit
  11. 07 Aug, 2014 3 commits
  12. 03 Aug, 2014 1 commit
  13. 02 Aug, 2014 2 commits
    • Christian Schulte zu Berge's avatar
      Introducing cool debug functionality to sigslot library. · d07ebc73
      Christian Schulte zu Berge authored
      When compiled with CAMPVIS_DEBUG, all signals carry additional information on the calling function, file and line. This is realized transparently through some macro magic when client code emits signals through the new emitSignal() method. Unfortunately, there is no way to debug-overload the operator(), hence, while this way of emitting signals remains valid, it cannot write the debug information into the signal handle.
      
      To avoid symbol conflicts, _connection_base::emitSignal() and has_slots::emitSignal() had to be renamed to ::processSignal().
      
      refs #384
      d07ebc73
    • Christian Schulte zu Berge's avatar
      Adjusting the testing framework to the new sigslot API. · bcbb5fdb
      Christian Schulte zu Berge authored
      Introducing SignalHandlingMode to signal_manager to allow forcing all signals being handled directly (needed for test-campvis) or queued.
      
      refs #384
      bcbb5fdb
  14. 01 Aug, 2014 1 commit
  15. 27 Jul, 2014 8 commits
  16. 15 Jul, 2014 1 commit
    • Christian Schulte zu Berge's avatar
      Fixed GCC compatability of scripting module: · 92c3bdef
      Christian Schulte zu Berge authored
      * CMake build files now support unix builds
      * SWIG interface files and Lua wrappers are now fully C++ compliant to comfort GCC
      * Hacked shared/static builds of the campvis-modules module even more, but now it works on both MSVC and GCC
      92c3bdef
  17. 10 May, 2014 1 commit
    • Artur Grunau's avatar
      Add support for all signal arities to SWIG wrappers for siglot · 9ee1138f
      Artur Grunau authored
      SWIG wrappers for siglot only supported unary signals until now. This
      commit adds support for all remaining signal arities to make it possible
      to connect to arbitrary signals from Lua.
      
      The implementation makes heavy use of templates but, due to the
      limitations of VS 2010 (no variadic templates), still contains lots of
      duplicated boilerplate code.
      
      `sigslot.i` has been moved from `scripting/` to `ext/sigslot/` to keep
      it close to the code it's wrapping.
      
      References #1
      9ee1138f
  18. 04 Apr, 2014 1 commit
  19. 08 Oct, 2013 1 commit
  20. 16 Aug, 2013 1 commit
  21. 09 May, 2013 1 commit
  22. 31 Oct, 2012 1 commit