|
SVCS - English Documentation
|
Structure describing an event published by the VCS core. More...
#include <Event.hxx>
Public Types | |
| enum | Type { FATAL_ERROR , RUNTIME_ERROR , REPOSITORY_INIT_SUCCESS , STAGE_SUCCESS , SAVE_SUCCESS , OBJECT_WRITE_SUCCESS , OBJECT_READ_SUCCESS , INDEX_UPDATE , COMMIT_CREATED , GENERAL_INFO , HELP_MESSAGE , DEBUG_MESSAGE , ERROR_MESSAGE , WARNING_MESSAGE , PROTOCOL_START , PROTOCOL_SUCCESS , PROTOCOL_ERROR , NETWORK_SEND , NETWORK_RECEIVE , OBJECT_TRANSFER , REFERENCE_UPDATE , NEGOTIATION_PHASE } |
| Types of events that can be published. More... | |
Public Attributes | |
| Type | type |
| The type of event that occurred. | |
| std::string | details |
| Detailed description or payload (e.g., object hash). | |
| std::string | source_name |
| Source of the event (e.g., "main", "InitCommand", "Repository"). | |
Structure describing an event published by the VCS core.
This is the "message" that the Subject (Publisher, e.g., Repository) sends to all its Observers.
Types of events that can be published.
| std::string svcs::services::Event::source_name |
Source of the event (e.g., "main", "InitCommand", "Repository").
Added to support three-argument aggregate initialization in notify() calls.