Cat
SpecsI2c.h
Go to the documentation of this file.
1 //$Id: SpecsI2c.h,v 1.3 2007/03/20 09:45:08 robbep Exp $
2 //------------------------------------------------------------------------------
3 //
4 // Package : i2c
5 //
6 // Description:
7 //
8 // Author(s) : F. Machefert -
9 // Date : 14 January 2004
10 //
11 //------------------------------------------------------------------------------
12 
13 #ifndef __I2C_H_
14 #define __I2C_H_
15 
16 #include "Tools.h"
17 #include "SpecsInterface.h"
18 
29 class SpecsI2c : public SpecsInterface {
30 public:
32  setName("SpecsI2c");
33  setType("SpecsI2c");
34  setId(0);
35  debug("SpecsI2c::SpecsI2c",name()+" built.");
36  }
37 
38  SpecsI2c(unsigned char i){
39  setName("SpecsI2c"+itos(i));
40  setType("SpecsI2c");
41  setId(i);
42  info("SpecsI2c::SpecsI2c",name()+" built.");
43  }
44  ~SpecsI2c(){;} ;
45 };
46 
47 #endif
48 
void info(std::string mymsg)
Definition: Object.h:38
std::string itos(int)
Definition: Tools.cpp:46
void setName(std::string name)
Definition: Object.h:51
void setType(std::string type)
Definition: Object.h:52
void setId(unsigned char id)
Definition: Object.h:53
void debug(std::string mymsg)
Definition: Object.h:37
~SpecsI2c()
Definition: SpecsI2c.h:44
std::string name() const
Definition: Object.h:28
SpecsI2c()
Definition: SpecsI2c.h:31
SpecsI2c(unsigned char i)
Definition: SpecsI2c.h:38