Nix (Dev)
3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
enums.hpp
Go to the documentation of this file.
1
#ifndef IV_SRC_COMMS_REDUNDANCY_ENUMS_HPP
2
#define IV_SRC_COMMS_REDUNDANCY_ENUMS_HPP
3
4
#include <cstdint>
5
6
namespace
iv::comms::redundancy
7
{
8
9
enum class
eRedundancyMessageType
: uint16_t
10
{
11
// General
12
Heartbeat
= 0x0000,
13
14
// Alarms
15
Sound
= 0x0010,
16
ACK
= 0x0011,
17
// TODO: add Watchcall messages
18
19
// Project Synchronization
20
// Que se mande constantemente tu project info, para que si hay algun cambio en el proyecto, se actualice en el otro lado
21
ProjectInfo
= 0x0020,
22
// Peticion de proyecto
23
ProjectRequest
= 0x0021,
24
// Proyecto completo o elementos específicos, dependiendo de la request
25
ProjectResponse
= 0x0022,
26
// Forzar proyecto, principalmente será usado desde el editor para forzar la actualización del proyecto
27
ForceProject
= 0x0023,
28
ChannelDownloaded
= 0x0024,
29
RequestChannelDownload
= 0x0025,
30
ResponseChannelDownload
= 0x0026,
31
32
PmsModeTransitionInfo
= 0x0027,
33
34
// Comandos
35
Command
= 0x0030,
36
37
// Variables online
38
VariableOnline
= 0x0040,
39
40
Channel
= 0x00FF,
41
};
42
43
enum class
eProjectSyncronizationFile
44
{
45
Project
,
46
Stations
,
47
Config
,
48
Tanks
,
49
Mimics
,
50
Logics
,
51
END
52
};
53
54
enum class
eRedundancyChannelDownloadSyncStatus
55
{
56
NotStarted
,
57
WaitingResponse
,
58
Success
,
59
Failure
60
};
61
62
}
// namespace iv::comms::redundancy
63
64
#endif
//IV_SRC_COMMS_REDUNDANCY_ENUMS_HPP
iv::comms::redundancy
Definition
enums.hpp:7
iv::comms::redundancy::eProjectSyncronizationFile
eProjectSyncronizationFile
Definition
enums.hpp:44
iv::comms::redundancy::eProjectSyncronizationFile::Tanks
@ Tanks
iv::comms::redundancy::eProjectSyncronizationFile::Stations
@ Stations
iv::comms::redundancy::eProjectSyncronizationFile::Project
@ Project
iv::comms::redundancy::eProjectSyncronizationFile::END
@ END
iv::comms::redundancy::eProjectSyncronizationFile::Logics
@ Logics
iv::comms::redundancy::eProjectSyncronizationFile::Mimics
@ Mimics
iv::comms::redundancy::eProjectSyncronizationFile::Config
@ Config
iv::comms::redundancy::eRedundancyMessageType
eRedundancyMessageType
Definition
enums.hpp:10
iv::comms::redundancy::eRedundancyMessageType::ProjectResponse
@ ProjectResponse
iv::comms::redundancy::eRedundancyMessageType::PmsModeTransitionInfo
@ PmsModeTransitionInfo
iv::comms::redundancy::eRedundancyMessageType::ACK
@ ACK
iv::comms::redundancy::eRedundancyMessageType::ProjectInfo
@ ProjectInfo
iv::comms::redundancy::eRedundancyMessageType::RequestChannelDownload
@ RequestChannelDownload
iv::comms::redundancy::eRedundancyMessageType::ForceProject
@ ForceProject
iv::comms::redundancy::eRedundancyMessageType::Channel
@ Channel
iv::comms::redundancy::eRedundancyMessageType::Heartbeat
@ Heartbeat
iv::comms::redundancy::eRedundancyMessageType::ProjectRequest
@ ProjectRequest
iv::comms::redundancy::eRedundancyMessageType::Sound
@ Sound
iv::comms::redundancy::eRedundancyMessageType::VariableOnline
@ VariableOnline
iv::comms::redundancy::eRedundancyMessageType::ResponseChannelDownload
@ ResponseChannelDownload
iv::comms::redundancy::eRedundancyMessageType::Command
@ Command
iv::comms::redundancy::eRedundancyMessageType::ChannelDownloaded
@ ChannelDownloaded
iv::comms::redundancy::eRedundancyChannelDownloadSyncStatus
eRedundancyChannelDownloadSyncStatus
Definition
enums.hpp:55
iv::comms::redundancy::eRedundancyChannelDownloadSyncStatus::Success
@ Success
iv::comms::redundancy::eRedundancyChannelDownloadSyncStatus::WaitingResponse
@ WaitingResponse
iv::comms::redundancy::eRedundancyChannelDownloadSyncStatus::Failure
@ Failure
iv::comms::redundancy::eRedundancyChannelDownloadSyncStatus::NotStarted
@ NotStarted
src
comms
redundancy
enums.hpp
Generated by
1.12.0