CMS 3D CMS Logo

FWSimpleProxyHelper.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWSimpleProxyHelper_h
2 #define Fireworks_Core_FWSimpleProxyHelper_h
3 // -*- C++ -*-
4 //
5 // Package: Core
6 // Class : FWSimpleProxyHelper
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Tue Dec 2 15:13:17 EST 2008
19 //
20 
21 // system include files
22 #include <typeinfo>
23 #include <string>
24 
25 // user include files
26 
27 // forward declarations
28 class FWEventItem;
29 
31 public:
32  FWSimpleProxyHelper(const std::type_info&);
33  //virtual ~FWSimpleProxyHelper();
34 
35  // ---------- const member functions ---------------------
36  const void* offsetObject(const void* iObj) const { return static_cast<const char*>(iObj) + m_objectOffset; }
37 
38  // ---------- static member functions --------------------
39 
40  // ---------- member functions ---------------------------
41  void itemChanged(const FWEventItem*);
42 
43 private:
44  //FWSimpleProxyHelper(const FWSimpleProxyHelper&); // stop default
45 
46  //const FWSimpleProxyHelper& operator=(const FWSimpleProxyHelper&); // stop default
47 
48  // ---------- member data --------------------------------
49  const std::type_info* m_itemType;
50  unsigned int m_objectOffset;
51 };
52 
53 #endif
FWSimpleProxyHelper(const std::type_info &)
const void * offsetObject(const void *iObj) const
const std::type_info * m_itemType
void itemChanged(const FWEventItem *)