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 // $Id: FWSimpleProxyHelper.h,v 1.3 2010/08/18 10:30:10 amraktad Exp $
20 //
21 
22 // system include files
23 #include <typeinfo>
24 #include <string>
25 
26 // user include files
27 
28 // forward declarations
29 class FWEventItem;
30 
32 
33 public:
34  FWSimpleProxyHelper(const std::type_info& );
35  //virtual ~FWSimpleProxyHelper();
36 
37  // ---------- const member functions ---------------------
38  const void* offsetObject(const void* iObj) const {
39  return static_cast<const char*> (iObj)+m_objectOffset;
40  }
41 
42  // ---------- static member functions --------------------
43 
44  // ---------- member functions ---------------------------
45  void itemChanged(const FWEventItem*);
46 private:
47  //FWSimpleProxyHelper(const FWSimpleProxyHelper&); // stop default
48 
49  //const FWSimpleProxyHelper& operator=(const FWSimpleProxyHelper&); // stop default
50 
51  // ---------- member data --------------------------------
52  const std::type_info* m_itemType;
53  unsigned int m_objectOffset;
54 
55 };
56 
57 
58 #endif
const void * offsetObject(const void *iObj) const
FWSimpleProxyHelper(const std::type_info &)
const std::type_info * m_itemType
void itemChanged(const FWEventItem *)