Cat
lbcat-cmake
CatSpecs
inc
SpecsSlave.h
Go to the documentation of this file.
1
//$Id: SpecsSlave.h,v 1.5 2006/04/06 17:11:17 fmachefe Exp $
2
//------------------------------------------------------------------------------
3
//
4
// Package : SpecsSlave
5
//
6
// Description:
7
//
8
// Author(s) : F. Machefert -
9
// Date : 12 February 2004
10
//
11
//------------------------------------------------------------------------------
12
13
#ifndef __SPECSSLAVE_H_
14
#define __SPECSSLAVE_H_
15
16
#include "
SpecsInterface.h
"
17
18
class
SpecsI2c
;
19
class
SpecsParallelBus
;
20
21
class
SpecsSlave
:
public
SpecsInterface
{
22
private
:
23
#ifndef _NODEVICE_
24
SPECSSLAVE
specsSlave
;
25
#endif
26
27
protected
:
28
SpecsI2c
*
i2c
;
29
30
public
:
31
SpecsSlave
();
32
~SpecsSlave
();
33
34
void
addI2c
(
Hierarchy
*);
35
36
void
setAddress
(
unsigned
char
);
37
38
#ifndef _NODEVICE_
39
SPECSSLAVE*
specsSlaveDevice
();
40
#endif
41
46
bool
detect
();
47
48
StatusCode
init
();
49
50
void
recursiveInitCommunications
();
51
55
void
resetInternal
();
56
60
void
reset
();
61
};
62
63
#endif
SpecsInterface.h
SpecsSlave::reset
void reset()
Definition:
SpecsSlave.cpp:204
SpecsSlave
Definition:
SpecsSlave.h:21
SpecsSlave::i2c
SpecsI2c * i2c
Definition:
SpecsSlave.h:28
SpecsSlave::recursiveInitCommunications
void recursiveInitCommunications()
Definition:
SpecsSlave.cpp:163
SpecsSlave::specsSlave
SPECSSLAVE specsSlave
Definition:
SpecsSlave.h:24
SpecsI2c
Definition:
SpecsI2c.h:29
SpecsParallelBus
Definition:
SpecsParallelBus.h:27
SpecsSlave::resetInternal
void resetInternal()
Definition:
SpecsSlave.cpp:184
SpecsSlave::~SpecsSlave
~SpecsSlave()
Definition:
SpecsSlave.cpp:44
Hierarchy
Definition:
Hierarchy.h:19
SpecsSlave::specsSlaveDevice
SPECSSLAVE * specsSlaveDevice()
Definition:
SpecsSlave.cpp:61
SpecsInterface
Definition:
SpecsInterface.h:54
SpecsSlave::setAddress
void setAddress(unsigned char)
Definition:
SpecsSlave.cpp:50
SpecsSlave::init
StatusCode init()
Definition:
SpecsSlave.cpp:69
StatusCode
Definition:
StatusCode.h:16
SpecsSlave::addI2c
void addI2c(Hierarchy *)
Definition:
SpecsSlave.cpp:175
SpecsSlave::SpecsSlave
SpecsSlave()
Definition:
SpecsSlave.cpp:32
SpecsSlave::detect
bool detect()
Definition:
SpecsSlave.cpp:119
Generated by
1.8.13