55 lines
1.2 KiB
C++
55 lines
1.2 KiB
C++
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// GENERATED CODE - do not edit (Generated by ddkit/genModelMsg)
|
|
//
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
// ErrorMemory.hpp (rmodel-msg)
|
|
|
|
|
|
#pragma once
|
|
|
|
#include <tmsif/type/ErrorMemory.hpp>
|
|
#include <tmsif/tmsif_export.hpp>
|
|
#include <string>
|
|
#include <vector>
|
|
#include <map>
|
|
|
|
|
|
namespace M_ErrorMemory {
|
|
|
|
|
|
//
|
|
// Service
|
|
//
|
|
|
|
/// Service interface.
|
|
/// Contains operations that a client can command the error memory service to perform.
|
|
class TMSIF_EXPORT IService {
|
|
|
|
public:
|
|
virtual ~IService();
|
|
virtual void CmdCreateEntry(M_ErrorMemory::ErrorEntryType const& Value);
|
|
virtual void CmdDeleteEntry(std::string const& KeyId);
|
|
virtual void CmdDeleteAll();
|
|
};
|
|
|
|
|
|
//
|
|
// Client
|
|
//
|
|
|
|
/// Client interface.
|
|
/// Contains callback operations from the error memory service to the client.
|
|
class TMSIF_EXPORT IClient {
|
|
|
|
public:
|
|
virtual ~IClient();
|
|
virtual void ReportEntry(std::string const& KeyId, M_ErrorMemory::ErrorEntryType const& Value, bool IsRemoved);
|
|
};
|
|
|
|
|
|
} // namespace M_ErrorMemory
|
|
|
|
|