lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
Loading...
Searching...
No Matches
CpswTemplate.hh File Reference
#include <cpsw_mmio_dev.h>

Macros

#define CpswTemplate(T)
 

Macro Definition Documentation

◆ CpswTemplate

#define CpswTemplate (   T)
Value:
class I##T; \
typedef shared_ptr<I##T> T; \
\
class C##T##Impl; \
typedef shared_ptr<C##T##Impl> T##Impl; \
\
class I##T : public virtual IMMIODev { \
public: \
static T create(const char*); \
}; \
\
class C##T##Impl : public CMMIODevImpl, public virtual I##T { \
public: \
C##T##Impl(Key &k, const char *name); \
};