Files
qt6-migration-pipeline/external/tmsif/include/ddkit/actors/ILocalServices.hpp
T
2026-10-23 16:13:31 +00:00

23 lines
711 B
C++

#pragma once
#include "ddkit/actors/ActorInfo.hpp"
namespace ddkit {
namespace actors {
/// @brief an ActorInfoDb must know about those services, which are 'important',
/// - that is: services local to the session, in/for which the actorInfoDb works.
/// - if some service is recognized twice in the network (normally a warning), and the local session is accountable
/// for it, the local process must die
/// so a session creating an ActorInfoDb must provide a function for up-to-date-knowledge about the local services
class ILocalServices {
public:
virtual bool isLocalService(ActorConfiguration config) = 0;
virtual ~ILocalServices() = default;
};
} // namespace actors
} // namespace ddkit