little formatting changes

This commit is contained in:
Robin Müller 2020-07-11 14:29:30 +02:00
parent e4f795d209
commit 799846d89f
2 changed files with 7 additions and 6 deletions

View File

@ -35,7 +35,7 @@
class HasActionsIF { class HasActionsIF {
public: public:
static const uint8_t INTERFACE_ID = CLASS_ID::HAS_ACTIONS_IF; static const uint8_t INTERFACE_ID = CLASS_ID::HAS_ACTIONS_IF;
static const ReturnValue_t IS_BUSY = MAKE_RETURN_CODE(1);//!< static const ReturnValue_t IS_BUSY = MAKE_RETURN_CODE(1);
static const ReturnValue_t INVALID_PARAMETERS = MAKE_RETURN_CODE(2); static const ReturnValue_t INVALID_PARAMETERS = MAKE_RETURN_CODE(2);
static const ReturnValue_t EXECUTION_FINISHED = MAKE_RETURN_CODE(3); static const ReturnValue_t EXECUTION_FINISHED = MAKE_RETURN_CODE(3);
static const ReturnValue_t INVALID_ACTION_ID = MAKE_RETURN_CODE(4); static const ReturnValue_t INVALID_ACTION_ID = MAKE_RETURN_CODE(4);

View File

@ -1,10 +1,10 @@
#ifndef EVENTOBJECT_EVENT_H_ #ifndef FRAMEWORK_EVENTS_EVENT_H_
#define EVENTOBJECT_EVENT_H_ #define FRAMEWORK_EVENTS_EVENT_H_
#include <stdint.h> #include <cstdint>
#include <framework/events/fwSubsystemIdRanges.h> #include <framework/events/fwSubsystemIdRanges.h>
//could be move to more suitable location //could be move to more suitable location
#include <config/tmtc/subsystemIdRanges.h> #include <subsystemIdRanges.h>
typedef uint16_t EventId_t; typedef uint16_t EventId_t;
typedef uint8_t EventSeverity_t; typedef uint8_t EventSeverity_t;
@ -21,6 +21,7 @@ EventSeverity_t getSeverity(Event event);
Event makeEvent(EventId_t eventId, EventSeverity_t eventSeverity); Event makeEvent(EventId_t eventId, EventSeverity_t eventSeverity);
} }
namespace SEVERITY { namespace SEVERITY {
static const EventSeverity_t INFO = 1; static const EventSeverity_t INFO = 1;
static const EventSeverity_t LOW = 2; static const EventSeverity_t LOW = 2;
@ -41,4 +42,4 @@ namespace SEVERITY {
// static const EventSeverity_t HIGH = 4; // static const EventSeverity_t HIGH = 4;
//}; //};
#endif /* EVENTOBJECT_EVENT_H_ */ #endif /* FRAMEWORK_EVENTS_EVENT_H_ */