From 034bbfaf7e4ed01cda2a52d372e72c77edbd7b6d Mon Sep 17 00:00:00 2001
From: Martin Hierholzer <martin.hierholzer@desy.de>
Date: Fri, 11 Nov 2016 15:03:59 +0100
Subject: [PATCH] added function to return the list of accessors

---
 include/Module.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/Module.h b/include/Module.h
index a1f0ad39..c9298149 100644
--- a/include/Module.h
+++ b/include/Module.h
@@ -36,6 +36,9 @@ namespace ChimeraTK {
       /** Terminate the module. Must be called before destruction, if run() was called previously. */
       virtual void terminate() {};
       
+      /** Obtain the list of accessors/variables associated with this module */
+      const std::list<AccessorBase*>& getAccessorList() { return accessorList; }
+      
   protected:
       
       template< typename UserType >
-- 
GitLab