Keypop Calypso Crypto Legacy SAM C++ API 0.6.0
Reference Calypso Crypto Legacy SAM API for C++
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
16namespace keypop {
17namespace calypso {
18namespace crypto {
19namespace legacysam {
20namespace transaction {
21
28template <typename T>
30public:
48 virtual T&
49 prepareWriteCounterCeiling(const int counterNumber, const int ceilingValue)
50 = 0;
51
77 const int counterNumber,
78 const int ceilingValue,
79 const CounterIncrementAccess counterIncrementAccess)
80 = 0;
81};
82
83} /* namespace transaction */
84} /* namespace legacysam */
85} /* namespace crypto */
86} /* namespace calypso */
87} /* namespace keypop */
virtual T & prepareWriteCounterConfiguration(const int counterNumber, const int ceilingValue, const CounterIncrementAccess counterIncrementAccess)=0
virtual T & prepareWriteCounterCeiling(const int counterNumber, const int ceilingValue)=0