Commit 2b70d6cd authored by ahoms's avatar ahoms
Browse files

* Added basic HwCap class

git-svn-id: 45c4679d-1946-429d-baad-37912b19538b
parent cb8f044c
#ifndef HWCAP_H
#define HWCAP_H
namespace lima
class HwCap
enum Type {
Sync, Buffer, // Standard: these are mandatory
Roi, Bin, Flip, // Image
Kinetics, FrameTransfer,// Acquisition modes
Timing, // Read only detector timmings
SerialLine, // Generic detector serial line
Type getType() const;
void *getCtrlObj() const;
HwCap(Type type, void *ctrl_obj);
Type m_type;
void *m_ctrl_obj;
} // namespace lima
#endif // HWCAP_H
#include "HwCap.h"
using namespace lima;
HwCap::HwCap(Type type, void *ctrl_obj)
m_type = type;
m_ctrl_obj = ctrl_obj;
HwCap::Type HwCap::getType() const
return m_type;
void *HwCap::getCtrlObj() const
return m_ctrl_obj;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment