Cat
lbcat-cmake
CatCore
src
CatCore_load.cpp
Go to the documentation of this file.
1
// $Id: $
2
// Include files
3
// Include files
4
#include <iostream>
5
6
//#include "DeclareFactoryEntries.h"
7
#include "
DLL.h
"
8
9
// Elements
10
#include "
Register.h
"
11
#include "
RAM.h
"
12
#include "
UsbI2cBus.h
"
13
#include "
UsbSpiBus.h
"
14
15
// Processus
16
17
DECLARE_DLL
( CatCore ){
18
DECLARE_ELEMENT
(
RAM
,Generic
RAM
);
19
DECLARE_ELEMENT
(
Register
,Generic
Register
);
20
DECLARE_ELEMENT
(
UsbI2cBus
, I2c bus from Usb interface );
21
DECLARE_ELEMENT
(
UsbSpiBus
, Spi bus from Usb interface );
22
}
23
24
FACTORY
(
Element
,
RAM
)
25
FACTORY
(
Element
,
Register
)
26
FACTORY
(
Element
,
UsbI2cBus
)
27
FACTORY
(
Element
,
UsbSpiBus
)
28
29
RAM
Definition:
RAM.h:16
DLL.h
UsbSpiBus.h
UsbI2cBus.h
Register.h
DECLARE_ELEMENT
#define DECLARE_ELEMENT(x, y)
Definition:
DLL.h:26
RAM.h
UsbI2cBus
Definition:
UsbI2cBus.h:16
Element
Definition:
Element.h:14
FACTORY
#define FACTORY(type, x)
Definition:
DLL.h:43
UsbSpiBus
Definition:
UsbSpiBus.h:17
DECLARE_DLL
DECLARE_DLL(CatCore)
Definition:
CatCore_load.cpp:17
Register
Definition:
Register.h:16
Generated by
1.8.13