ocpp 0.24.1
A C++ implementation of the Open Charge Point Protocol
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
9namespace ocpp {
10class EvseSecurity;
11
12namespace v2 {
13class DeviceModel;
14class ConnectivityManagerInterface;
15class EvseManagerInterface;
16class DatabaseHandlerInterface;
17class ComponentStateManagerInterface;
18
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
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
Handler for security related operations of the charging station.
Definition: evse_security.hpp:17
Definition: component_state_manager.hpp:64
Definition: connectivity_manager.hpp:24
Definition: database_handler.hpp:27
This class manages access to the device model representation and to the device model interface and pr...
Definition: device_model.hpp:96
Class used to access the Evse instances.
Definition: evse_manager.hpp:21
Context / requirements for the functional blocks.
Definition: functional_block_context.hpp:23