Keypop Calypso Crypto Legacy SAM C++ API - 1.0.0
Component of the Keypop C++ API
WriteTransactionManager.hpp
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright (c) 2025 Calypso Networks Association https://calypsonet.org/ *
3 * *
4 * This program and the accompanying materials are made available under the *
5 * terms of the MIT License which is available at *
6 * https://opensource.org/licenses/MIT. *
7 * *
8 * SPDX-License-Identifier: MIT *
9 ******************************************************************************/
10
11#pragma once
12
13#include <cstdint>
14#include <vector>
15
17
18namespace keypop {
19namespace calypso {
20namespace crypto {
21namespace legacysam {
22namespace transaction {
23
33template <typename T>
35public:
53 virtual T&
54 prepareWriteCounterCeiling(const int counterNumber, const int ceilingValue)
55 = 0;
56
82 const int counterNumber,
83 const int ceilingValue,
84 const CounterIncrementAccess counterIncrementAccess) = 0;
85};
86
87} /* namespace transaction */
88} /* namespace legacysam */
89} /* namespace crypto */
90} /* namespace calypso */
91} /* namespace keypop */
Common API for all legacy SAM transaction managers.
virtual T & prepareWriteCounterConfiguration(const int counterNumber, const int ceilingValue, const CounterIncrementAccess counterIncrementAccess)=0
Schedules the execution of a "Write Ceilings" command to write a counter ceiling and its free increme...
virtual T & prepareWriteCounterCeiling(const int counterNumber, const int ceilingValue)=0
Schedules the execution of a "Write Ceilings" command to write a single counter ceiling.
CounterIncrementAccess
Enumeration of the different possible access rights for incrementing event counters.