ocpp
0.24.1
A C++ implementation of the Open Charge Point Protocol
include
ocpp
v2
functional_blocks
functional_block_context.hpp
1
// SPDX-License-Identifier: Apache-2.0
2
// Copyright Pionix GmbH and Contributors to EVerest
3
4
#pragma once
5
6
#include <ocpp/common/message_dispatcher.hpp>
7
#include <ocpp/v2/types.hpp>
8
9
namespace
ocpp {
10
class
EvseSecurity;
11
12
namespace
v2 {
13
class
DeviceModel;
14
class
ConnectivityManagerInterface;
15
class
EvseManagerInterface;
16
class
DatabaseHandlerInterface;
17
class
ComponentStateManagerInterface;
18
23
struct
FunctionalBlockContext
{
24
MessageDispatcherInterface<MessageType>
& message_dispatcher;
25
DeviceModel
& device_model;
26
ConnectivityManagerInterface
& connectivity_manager;
27
EvseManagerInterface
& evse_manager;
28
DatabaseHandlerInterface
& database_handler;
29
EvseSecurity
& evse_security;
30
ComponentStateManagerInterface
& component_state_manager;
31
32
FunctionalBlockContext
(
MessageDispatcherInterface<MessageType>
& message_dispatcher,
DeviceModel
& device_model,
33
ConnectivityManagerInterface
& connectivity_manager,
EvseManagerInterface
& evse_manager,
34
DatabaseHandlerInterface
& database_handler,
EvseSecurity
& evse_security,
35
ComponentStateManagerInterface
& component_state_manager) :
36
message_dispatcher(message_dispatcher),
37
device_model(device_model),
38
connectivity_manager(connectivity_manager),
39
evse_manager(evse_manager),
40
database_handler(database_handler),
41
evse_security(evse_security),
42
component_state_manager(component_state_manager) {
43
}
44
};
45
}
// namespace v2
46
}
// namespace ocpp
ocpp::EvseSecurity
Handler for security related operations of the charging station.
Definition:
evse_security.hpp:17
ocpp::MessageDispatcherInterface< MessageType >
ocpp::v2::ComponentStateManagerInterface
Definition:
component_state_manager.hpp:64
ocpp::v2::ConnectivityManagerInterface
Definition:
connectivity_manager.hpp:24
ocpp::v2::DatabaseHandlerInterface
Definition:
database_handler.hpp:27
ocpp::v2::DeviceModel
This class manages access to the device model representation and to the device model interface and pr...
Definition:
device_model.hpp:96
ocpp::v2::EvseManagerInterface
Class used to access the Evse instances.
Definition:
evse_manager.hpp:21
ocpp::v2::FunctionalBlockContext
Context / requirements for the functional blocks.
Definition:
functional_block_context.hpp:23
Generated by
1.9.4