Relative Paths
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
#include <framework/events/Event.h>
|
||||
#include "Event.h"
|
||||
namespace EVENT {
|
||||
EventId_t getEventId(Event event) {
|
||||
return (event & 0xFFFF);
|
||||
|
@ -2,7 +2,7 @@
|
||||
#define EVENTOBJECT_EVENT_H_
|
||||
|
||||
#include <stdint.h>
|
||||
#include <framework/events/fwSubsystemIdRanges.h>
|
||||
#include "fwSubsystemIdRanges.h"
|
||||
//could be move to more suitable location
|
||||
#include <config/tmtc/subsystemIdRanges.h>
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
#include <framework/events/EventManager.h>
|
||||
#include <framework/events/EventMessage.h>
|
||||
#include <framework/serviceinterface/ServiceInterfaceStream.h>
|
||||
#include <framework/ipc/QueueFactory.h>
|
||||
#include <framework/ipc/MutexFactory.h>
|
||||
#include "EventManager.h"
|
||||
#include "EventMessage.h"
|
||||
#include "../serviceinterface/ServiceInterfaceStream.h"
|
||||
#include "../ipc/QueueFactory.h"
|
||||
#include "../ipc/MutexFactory.h"
|
||||
|
||||
|
||||
const uint16_t EventManager::POOL_SIZES[N_POOLS] = {
|
||||
|
@ -1,13 +1,13 @@
|
||||
#ifndef EVENTMANAGER_H_
|
||||
#define EVENTMANAGER_H_
|
||||
|
||||
#include <framework/events/eventmatching/EventMatchTree.h>
|
||||
#include <framework/events/EventManagerIF.h>
|
||||
#include <framework/objectmanager/SystemObject.h>
|
||||
#include <framework/storagemanager/LocalPool.h>
|
||||
#include <framework/tasks/ExecutableObjectIF.h>
|
||||
#include <framework/ipc/MessageQueueIF.h>
|
||||
#include <framework/ipc/MutexIF.h>
|
||||
#include "eventmatching/EventMatchTree.h"
|
||||
#include "EventManagerIF.h"
|
||||
#include "../objectmanager/SystemObject.h"
|
||||
#include "../storagemanager/LocalPool.h"
|
||||
#include "../tasks/ExecutableObjectIF.h"
|
||||
#include "../ipc/MessageQueueIF.h"
|
||||
#include "../ipc/MutexIF.h"
|
||||
#include <map>
|
||||
|
||||
class EventManager: public EventManagerIF,
|
||||
|
@ -1,10 +1,10 @@
|
||||
#ifndef EVENTMANAGERIF_H_
|
||||
#define EVENTMANAGERIF_H_
|
||||
|
||||
#include <framework/events/eventmatching/eventmatching.h>
|
||||
#include <framework/events/EventMessage.h>
|
||||
#include <framework/objectmanager/ObjectManagerIF.h>
|
||||
#include <framework/ipc/MessageQueueSenderIF.h>
|
||||
#include "eventmatching/eventmatching.h"
|
||||
#include "EventMessage.h"
|
||||
#include "../objectmanager/ObjectManagerIF.h"
|
||||
#include "../ipc/MessageQueueSenderIF.h"
|
||||
|
||||
class EventManagerIF {
|
||||
public:
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include <framework/events/EventMessage.h>
|
||||
#include "EventMessage.h"
|
||||
#include <cstring>
|
||||
|
||||
EventMessage::EventMessage() {
|
||||
|
@ -1,9 +1,9 @@
|
||||
#ifndef EVENTMESSAGE_H_
|
||||
#define EVENTMESSAGE_H_
|
||||
|
||||
#include <framework/events/Event.h>
|
||||
#include <framework/ipc/MessageQueueMessage.h>
|
||||
#include <framework/objectmanager/ObjectManagerIF.h>
|
||||
#include "Event.h"
|
||||
#include "../ipc/MessageQueueMessage.h"
|
||||
#include "../objectmanager/ObjectManagerIF.h"
|
||||
|
||||
/**
|
||||
* Passing on events through IPC.
|
||||
|
@ -1,7 +1,7 @@
|
||||
#ifndef FRAMEWORK_EVENTS_EVENTREPORTINGPROXYIF_H_
|
||||
#define FRAMEWORK_EVENTS_EVENTREPORTINGPROXYIF_H_
|
||||
|
||||
#include <framework/events/Event.h>
|
||||
#include "Event.h"
|
||||
|
||||
|
||||
class EventReportingProxyIF {
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include <framework/events/eventmatching/EventIdRangeMatcher.h>
|
||||
#include "EventIdRangeMatcher.h"
|
||||
|
||||
EventIdRangeMatcher::EventIdRangeMatcher(EventId_t lower, EventId_t upper,
|
||||
bool inverted) : EventRangeMatcherBase<EventId_t>(lower, upper, inverted) {
|
||||
|
@ -1,7 +1,7 @@
|
||||
#ifndef FRAMEWORK_EVENTS_EVENTMATCHING_EVENTIDRANGEMATCHER_H_
|
||||
#define FRAMEWORK_EVENTS_EVENTMATCHING_EVENTIDRANGEMATCHER_H_
|
||||
|
||||
#include <framework/events/eventmatching/EventRangeMatcherBase.h>
|
||||
#include "EventRangeMatcherBase.h"
|
||||
|
||||
class EventIdRangeMatcher: public EventRangeMatcherBase<EventId_t> {
|
||||
public:
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include <framework/events/eventmatching/EventIdRangeMatcher.h>
|
||||
#include <framework/events/eventmatching/EventMatchTree.h>
|
||||
#include <framework/events/eventmatching/ReporterRangeMatcher.h>
|
||||
#include <framework/events/eventmatching/SeverityRangeMatcher.h>
|
||||
#include "EventIdRangeMatcher.h"
|
||||
#include "EventMatchTree.h"
|
||||
#include "ReporterRangeMatcher.h"
|
||||
#include "SeverityRangeMatcher.h"
|
||||
|
||||
EventMatchTree::EventMatchTree(StorageManagerIF* storageBackend,
|
||||
bool invertedMatch) :
|
||||
|
@ -1,10 +1,10 @@
|
||||
#ifndef FRAMEWORK_EVENTS_EVENTMATCHING_EVENTMATCHTREE_H_
|
||||
#define FRAMEWORK_EVENTS_EVENTMATCHING_EVENTMATCHTREE_H_
|
||||
|
||||
#include <framework/container/PlacementFactory.h>
|
||||
#include <framework/events/EventMessage.h>
|
||||
#include <framework/globalfunctions/matching/MatchTree.h>
|
||||
#include <framework/returnvalues/HasReturnvaluesIF.h>
|
||||
#include "../../container/PlacementFactory.h"
|
||||
#include "../../events/EventMessage.h"
|
||||
#include "../../globalfunctions/matching/MatchTree.h"
|
||||
#include "../../returnvalues/HasReturnvaluesIF.h"
|
||||
class StorageManagerIF;
|
||||
|
||||
class EventMatchTree: public MatchTree<EventMessage*>, public HasReturnvaluesIF {
|
||||
|
@ -1,9 +1,9 @@
|
||||
#ifndef FRAMEWORK_EVENTS_EVENTMATCHING_EVENTRANGEMATCHERBASE_H_
|
||||
#define FRAMEWORK_EVENTS_EVENTMATCHING_EVENTRANGEMATCHERBASE_H_
|
||||
|
||||
#include <framework/events/EventMessage.h>
|
||||
#include <framework/globalfunctions/matching/RangeMatcher.h>
|
||||
#include <framework/globalfunctions/matching/SerializeableMatcherIF.h>
|
||||
#include "../../events/EventMessage.h"
|
||||
#include "../../globalfunctions/matching/RangeMatcher.h"
|
||||
#include "../../globalfunctions/matching/SerializeableMatcherIF.h"
|
||||
|
||||
template <typename T>
|
||||
class EventRangeMatcherBase: public SerializeableMatcherIF<EventMessage*> {
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include <framework/events/eventmatching/ReporterRangeMatcher.h>
|
||||
#include "ReporterRangeMatcher.h"
|
||||
|
||||
ReporterRangeMatcher::ReporterRangeMatcher(object_id_t lower, object_id_t upper,
|
||||
bool inverted) : EventRangeMatcherBase<object_id_t>(lower, upper, inverted) {
|
||||
|
@ -1,7 +1,7 @@
|
||||
#ifndef FRAMEWORK_EVENTS_EVENTMATCHING_REPORTERRANGEMATCHER_H_
|
||||
#define FRAMEWORK_EVENTS_EVENTMATCHING_REPORTERRANGEMATCHER_H_
|
||||
|
||||
#include <framework/events/eventmatching/EventRangeMatcherBase.h>
|
||||
#include "EventRangeMatcherBase.h"
|
||||
|
||||
class ReporterRangeMatcher: public EventRangeMatcherBase<object_id_t> {
|
||||
public:
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include <framework/events/eventmatching/SeverityRangeMatcher.h>
|
||||
#include <framework/events/EventMessage.h>
|
||||
#include <framework/serialize/SerializeAdapter.h>
|
||||
#include "SeverityRangeMatcher.h"
|
||||
#include "../../events/EventMessage.h"
|
||||
#include "../../serialize/SerializeAdapter.h"
|
||||
|
||||
SeverityRangeMatcher::SeverityRangeMatcher(EventSeverity_t from,
|
||||
EventSeverity_t till, bool inverted) : EventRangeMatcherBase<EventSeverity_t>(from, till, inverted) {
|
||||
|
@ -1,7 +1,7 @@
|
||||
#ifndef FRAMEWORK_EVENTS_EVENTMATCHING_SEVERITYRANGEMATCHER_H_
|
||||
#define FRAMEWORK_EVENTS_EVENTMATCHING_SEVERITYRANGEMATCHER_H_
|
||||
|
||||
#include <framework/events/eventmatching/EventRangeMatcherBase.h>
|
||||
#include "EventRangeMatcherBase.h"
|
||||
|
||||
class SeverityRangeMatcher: public EventRangeMatcherBase<EventSeverity_t> {
|
||||
public:
|
||||
|
@ -1,10 +1,10 @@
|
||||
#ifndef EVENTMATCHING_H_
|
||||
#define EVENTMATCHING_H_
|
||||
|
||||
#include <framework/events/eventmatching/EventIdRangeMatcher.h>
|
||||
#include <framework/events/eventmatching/EventMatchTree.h>
|
||||
#include <framework/events/eventmatching/ReporterRangeMatcher.h>
|
||||
#include <framework/events/eventmatching/SeverityRangeMatcher.h>
|
||||
#include "EventIdRangeMatcher.h"
|
||||
#include "EventMatchTree.h"
|
||||
#include "ReporterRangeMatcher.h"
|
||||
#include "SeverityRangeMatcher.h"
|
||||
|
||||
|
||||
#endif /* EVENTMATCHING_H_ */
|
||||
|
Reference in New Issue
Block a user