- Main Page
- Classes
- Files

- File List
- File Members

# device/SoundSensor.h

    00001 //
    00002 // SoundSensor.h
    00003 //
    00004 // Copyright 2009 by Takashi Chikamasa, Jon C. Martin and Robert W. Kramer
    00005 //
    00006
    00007 #ifndef SOUNDSENSOR_H_
    00008 #define SOUNDSENSOR_H_
    00009
    00010 #include "Sensor.h"
    00011
    00012 namespace ecrobot
    00013 {
    00052 class SoundSensor: public Sensor
    00053 {
    00054 public:
    00064         explicit SoundSensor(ePortS port, bool dba = false);
    00065
    00071         ~SoundSensor(void);
    00072
    00078         S16 getLevel(void) const;
    00079
    00085         void setDBA(bool dba);
    00086 };
    00087 }
    00088
    00089 #endif