Fireworks
Core
interface
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
30
class
FWSimpleProxyHelper
{
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::m_objectOffset
unsigned int m_objectOffset
Definition:
FWSimpleProxyHelper.h:50
FWSimpleProxyHelper::itemChanged
void itemChanged(const FWEventItem *)
Definition:
FWSimpleProxyHelper.cc:62
FWSimpleProxyHelper::offsetObject
const void * offsetObject(const void *iObj) const
Definition:
FWSimpleProxyHelper.h:36
FWSimpleProxyHelper::FWSimpleProxyHelper
FWSimpleProxyHelper(const std::type_info &)
Definition:
FWSimpleProxyHelper.cc:36
FWEventItem
Definition:
FWEventItem.h:56
FWSimpleProxyHelper
Definition:
FWSimpleProxyHelper.h:30
FWSimpleProxyHelper::m_itemType
const std::type_info * m_itemType
Definition:
FWSimpleProxyHelper.h:49
Generated for CMSSW Reference Manual by
1.8.16