Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
9.2.2023: Due to updates GitLab will be unavailable for some minutes between 9:00 and 11:00.
Open sidebar
dcdb
dcdb
Commits
420f5736
Commit
420f5736
authored
Oct 01, 2018
by
Micha Mueller
Browse files
Rename headers/ directory to includes/
parent
5ee328cf
Changes
25
Hide whitespace changes
Inline
Side-by-side
src/Configuration.h
View file @
420f5736
...
...
@@ -11,10 +11,9 @@
#include
<set>
#include
"HttpsServer.h"
#include
"headers/PluginDefinitions.h"
#include
<boost/property_tree/ptree.hpp>
#include
<boost/log/trivial.hpp>
#include
"includes/PluginDefinitions.h"
typedef
struct
{
int
daemonize
;
...
...
src/HttpsServer.h
View file @
420f5736
...
...
@@ -22,8 +22,8 @@
#include
<boost/asio.hpp>
#include
"
hea
de
r
s/Logging.h"
#include
"
hea
de
r
s/PluginDefinitions.h"
#include
"
inclu
des/Logging.h"
#include
"
inclu
des/PluginDefinitions.h"
#include
"MQTTPusher.h"
typedef
struct
{
...
...
src/MQTTPusher.h
View file @
420f5736
...
...
@@ -8,8 +8,8 @@
#ifndef MQTTPUSHER_H_
#define MQTTPUSHER_H_
#include
"headers/PluginDefinitions.h"
#include
<mosquitto.h>
#include
"includes/PluginDefinitions.h"
/**
* Class responsible for collecting values from the sensors and pushing them to the database.
...
...
src/
hea
de
r
s/ConfiguratorInterface.h
→
src/
inclu
des/ConfiguratorInterface.h
View file @
420f5736
...
...
@@ -10,6 +10,7 @@
#include
<string>
#include
<vector>
#include
"SensorGroupTemplate.h"
typedef
struct
{
...
...
src/
hea
de
r
s/ConfiguratorTemplate.h
→
src/
inclu
des/ConfiguratorTemplate.h
View file @
420f5736
...
...
@@ -8,17 +8,15 @@
#ifndef SRC_CONFIGURATORTEMPLATE_H_
#define SRC_CONFIGURATORTEMPLATE_H_
#include
"ConfiguratorInterface.h"
#include
"SensorBase.h"
#include
"SensorGroupTemplate.h"
#include
<map>
#include
<boost/foreach.hpp>
#include
<boost/algorithm/string.hpp>
#include
<boost/property_tree/ptree.hpp>
#include
<boost/property_tree/info_parser.hpp>
#include
"ConfiguratorInterface.h"
#include
"SensorBase.h"
#include
"SensorGroupTemplate.h"
//#define STRCMP(node,str) boost::iequals(node.first,str) //DEPRECATED
#define CFG_TREE boost::property_tree::iptree&
...
...
src/
hea
de
r
s/Logging.h
→
src/
inclu
des/Logging.h
View file @
420f5736
File moved
src/
hea
de
r
s/PluginDefinitions.h
→
src/
inclu
des/PluginDefinitions.h
View file @
420f5736
File moved
src/
hea
de
r
s/SensorBase.h
→
src/
inclu
des/SensorBase.h
View file @
420f5736
File moved
src/
hea
de
r
s/SensorGroupInterface.h
→
src/
inclu
des/SensorGroupInterface.h
View file @
420f5736
File moved
src/
hea
de
r
s/SensorGroupTemplate.h
→
src/
inclu
des/SensorGroupTemplate.h
View file @
420f5736
...
...
@@ -8,9 +8,8 @@
#ifndef SENSORGROUPTEMPLATE_H_
#define SENSORGROUPTEMPLATE_H_
#include
"SensorGroupInterface.h"
#include
<vector>
#include
"SensorGroupInterface.h"
template
<
typename
S
>
class
SensorGroupTemplate
:
public
SensorGroupInterface
{
...
...
src/sensors/bacnet/BACnetClient.h
View file @
420f5736
...
...
@@ -8,12 +8,11 @@
#ifndef BACNETCLIENT_H_
#define BACNETCLIENT_H_
#include
"../../headers/Logging.h"
#include
"apdu.h"
#include
"bacenum.h"
#include
"datalink.h"
#include
<boost/asio.hpp>
#include
"../../includes/Logging.h"
/*
* NOTE
...
...
src/sensors/bacnet/BACnetConfigurator.h
View file @
420f5736
...
...
@@ -8,9 +8,9 @@
#ifndef BACNETCONFIGURATOR_H_
#define BACNETCONFIGURATOR_H_
#include
"../../includes/ConfiguratorTemplate.h"
#include
"BACnetClient.h"
#include
"../../headers/ConfiguratorTemplate.h"
#include
"BACnetSingleSensor.h"
class
BACnetConfigurator
:
public
ConfiguratorTemplate
<
BACnetSensorBase
,
BACnetSingleSensor
>
{
...
...
src/sensors/ipmi/IPMIConfigurator.h
View file @
420f5736
...
...
@@ -12,7 +12,7 @@
#include
<list>
#include
"../../
hea
de
r
s/ConfiguratorTemplate.h"
#include
"../../
inclu
des/ConfiguratorTemplate.h"
#include
"IPMISingleSensor.h"
namespace
DCDB
{
...
...
src/sensors/ipmi/IPMIHost.h
View file @
420f5736
...
...
@@ -8,12 +8,11 @@
#ifndef IPMIHOST_H_
#define IPMIHOST_H_
#include
"../../headers/Logging.h"
#include
<string>
#include
<list>
#include
<freeipmi/freeipmi.h>
#include
<boost/asio.hpp>
#include
"../../includes/Logging.h"
namespace
DCDB
{
...
...
src/sensors/opa/OpaConfigurator.h
View file @
420f5736
...
...
@@ -8,8 +8,7 @@
#ifndef OPA_OPACONFIGURATOR_H_
#define OPA_OPACONFIGURATOR_H_
#include
"../../headers/ConfiguratorTemplate.h"
#include
"../../includes/ConfiguratorTemplate.h"
#include
"OpaSensorGroup.h"
#include
"OpaSingleSensor.h"
...
...
src/sensors/opa/OpaSensorBase.h
View file @
420f5736
...
...
@@ -8,7 +8,7 @@
#ifndef OPA_OPASENSORBASE_H_
#define OPA_OPASENSORBASE_H_
#include
"../../
hea
de
r
s/SensorBase.h"
#include
"../../
inclu
des/SensorBase.h"
enum
PORT_COUNTER_DATA
{
portXmitData
=
0
,
...
...
src/sensors/opa/OpaSensorGroup.h
View file @
420f5736
...
...
@@ -8,8 +8,7 @@
#ifndef OPA_OPASENSORGROUP_H_
#define OPA_OPASENSORGROUP_H_
#include
"../../headers/SensorGroupTemplate.h"
#include
"../../includes/SensorGroupTemplate.h"
#include
"OpaAttributes.h"
#include
"OpaSensorBase.h"
...
...
src/sensors/pdu/PDUConfigurator.h
View file @
420f5736
...
...
@@ -11,7 +11,7 @@
#include
"PDUUnit.h"
#include
<list>
#include
"../../
hea
de
r
s/ConfiguratorTemplate.h"
#include
"../../
inclu
des/ConfiguratorTemplate.h"
#include
"PDUSingleSensor.h"
class
PDUConfigurator
:
public
ConfiguratorTemplate
<
PDUSensorBase
,
PDUSingleSensor
>
{
...
...
src/sensors/pdu/PDUUnit.h
View file @
420f5736
...
...
@@ -8,8 +8,6 @@
#ifndef PDUUNIT_H_
#define PDUUNIT_H_
#include
"../../headers/Logging.h"
#include
<tuple>
#include
<vector>
#include
<utility>
...
...
@@ -17,6 +15,7 @@
#include
<boost/asio.hpp>
#include
<boost/property_tree/ptree.hpp>
#include
"../../includes/Logging.h"
typedef
std
::
vector
<
std
::
pair
<
std
::
string
,
std
::
string
>>
attributesVector_t
;
...
...
src/sensors/perfevent/PerfSensorGroup.h
View file @
420f5736
...
...
@@ -8,8 +8,7 @@
#ifndef PERFSENSORGROUP_H_
#define PERFSENSORGROUP_H_
#include
"../../headers/SensorGroupTemplate.h"
#include
"../../includes/SensorGroupTemplate.h"
#include
"PerfAttributes.h"
#include
"PerfSensorBase.h"
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment