Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes
Hasher Class Reference

#include <ir_hasher.hpp>

List of all members.

Public Member Functions

 Hasher (int gpio, HasherCB_t callback, int timeout=5)

Private Member Functions

void _callback (int gpio, int level, uint32_t tick)
void _hash (int old_val, int new_val)

Static Private Member Functions

static void _callbackExt (int gpio, int level, uint32_t tick, void *user)

Private Attributes

int edges
uint32_t hash_val
int in_code
HasherCB_t mycallback
int mygpio
int mytimeout
uint32_t t1
uint32_t t2
uint32_t t3
uint32_t t4

Detailed Description

Definition at line 8 of file ir_hasher.hpp.


Constructor & Destructor Documentation

Hasher::Hasher ( int  gpio,
HasherCB_t  callback,
int  timeout = 5 
)

Definition at line 75 of file ir_hasher.cpp.


Member Function Documentation

void Hasher::_callback ( int  gpio,
int  level,
uint32_t  tick 
) [private]

Definition at line 17 of file ir_hasher.cpp.

void Hasher::_callbackExt ( int  gpio,
int  level,
uint32_t  tick,
void *  user 
) [static, private]

Definition at line 64 of file ir_hasher.cpp.

void Hasher::_hash ( int  old_val,
int  new_val 
) [private]

Definition at line 5 of file ir_hasher.cpp.


Member Data Documentation

int Hasher::edges [private]

Definition at line 29 of file ir_hasher.hpp.

uint32_t Hasher::hash_val [private]

Definition at line 28 of file ir_hasher.hpp.

int Hasher::in_code [private]

Definition at line 27 of file ir_hasher.hpp.

Definition at line 26 of file ir_hasher.hpp.

int Hasher::mygpio [private]

Definition at line 25 of file ir_hasher.hpp.

int Hasher::mytimeout [private]

Definition at line 25 of file ir_hasher.hpp.

uint32_t Hasher::t1 [private]

Definition at line 30 of file ir_hasher.hpp.

uint32_t Hasher::t2 [private]

Definition at line 30 of file ir_hasher.hpp.

uint32_t Hasher::t3 [private]

Definition at line 30 of file ir_hasher.hpp.

uint32_t Hasher::t4 [private]

Definition at line 30 of file ir_hasher.hpp.


The documentation for this class was generated from the following files:


cob_hand_bridge
Author(s): Mathias L├╝dtke
autogenerated on Thu Jun 6 2019 20:43:57