#include <evgDbus.h>
|
typedef m_obj_children_t::const_iterator | child_iterator |
|
typedef std::map< std::string, std::string > | create_args_t |
|
typedef Object *(* | create_factory_t) (const std::string &name, const std::string &klass, const create_args_t &args) |
|
static int | initObject () |
|
static Object * | getObject (const std::string &name) |
|
static Object * | getCreateObject (const std::string &name, const std::string &klass, const create_args_t &args=create_args_t()) |
|
static void | addFactory (const std::string &klass, create_factory_t fn) |
|
static void | visitObjects (bool(*)(Object *, void *), void *) |
|
| ObjectInst (const std::string &n) |
|
| ObjectInst (const std::string &n, A &a) |
|
virtual | ~ObjectInst () |
|
| Object (const std::string &n, const Object *par=0) |
|
virtual | ~Object ()=0 |
|
Definition at line 7 of file evgDbus.h.
◆ evgDbus()
evgDbus::evgDbus |
( |
const std::string & |
name, |
|
|
const epicsUInt32 |
id, |
|
|
volatile epicsUInt8 * const |
pReg |
|
) |
| |
Definition at line 11 of file evgDbus.cpp.
const std::string & name() const
◆ ~evgDbus()
◆ getSource()
epicsUInt16 evgDbus::getSource |
( |
| ) |
const |
Definition at line 36 of file evgDbus.cpp.
37 epicsUInt32 dbusSrc =
READ32(m_pReg, DBusSrc);
38 return dbusSrc & (0xf << (4 * m_id));
#define READ32(base, offset)
◆ lock()
virtual void evgDbus::lock |
( |
| ) |
const |
|
inlinevirtual |
◆ setSource()
void evgDbus::setSource |
( |
epicsUInt16 |
src | ) |
|
Definition at line 22 of file evgDbus.cpp.
23 epicsUInt32 mask = src << (4 * m_id);
26 epicsUInt32 dbusSrc =
READ32(m_pReg, DBusSrc);
29 dbusSrc = dbusSrc & ~(0xf << (4 * m_id));
31 dbusSrc = dbusSrc | mask;
32 WRITE32(m_pReg, DBusSrc, dbusSrc);
#define READ32(base, offset)
#define WRITE32(base, offset, value)
◆ unlock()
virtual void evgDbus::unlock |
( |
| ) |
const |
|
inlinevirtual |
The documentation for this class was generated from the following files: