Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions PICamApp/src/ADPICam.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,23 @@
#include "picam_advanced.h"


namespace std {

template<>
struct hash<PicamParameter>
{
typedef PicamParameter argument_type;
typedef int result_type;
result_type operator () (const argument_type& x) const
{
using type = typename std::underlying_type<argument_type>::type;
return std::hash<type>()(static_cast<type>(x));
}
};

}


class epicsShareClass ADPICam: public ADDriver {
public:
static const char *notAvailable;
Expand Down