CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
32 public:
33  FWSimpleProxyHelper(const std::type_info& );
34  //virtual ~FWSimpleProxyHelper();
35 
36  // ---------- const member functions ---------------------
37  const void* offsetObject(const void* iObj) const {
38  return static_cast<const char*> (iObj)+m_objectOffset;
39  }
40 
41  // ---------- static member functions --------------------
42 
43  // ---------- member functions ---------------------------
44  void itemChanged(const FWEventItem*);
45 private:
46  //FWSimpleProxyHelper(const FWSimpleProxyHelper&); // stop default
47 
48  //const FWSimpleProxyHelper& operator=(const FWSimpleProxyHelper&); // stop default
49 
50  // ---------- member data --------------------------------
51  const std::type_info* m_itemType;
52  unsigned int m_objectOffset;
53 
54 };
55 
56 
57 #endif
const void * offsetObject(const void *iObj) const
FWSimpleProxyHelper(const std::type_info &)
const std::type_info * m_itemType
void itemChanged(const FWEventItem *)