include replacements
This commit is contained in:
parent
111f9dce7d
commit
f13e7b4255
@ -1,5 +1,5 @@
|
|||||||
#include <framework/serviceinterface/ServiceInterfaceStream.h>
|
#include "../../serviceinterface/ServiceInterfaceStream.h"
|
||||||
#include <framework/timemanager/Clock.h>
|
#include "../../timemanager/Clock.h"
|
||||||
|
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
#if defined(WIN32)
|
#if defined(WIN32)
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
#include <framework/osal/host/FixedTimeslotTask.h>
|
#include "../../osal/host/FixedTimeslotTask.h"
|
||||||
|
|
||||||
#include <framework/ipc/MutexFactory.h>
|
#include "../../ipc/MutexFactory.h"
|
||||||
#include <framework/osal/host/Mutex.h>
|
#include "../../osal/host/Mutex.h"
|
||||||
#include <framework/osal/host/FixedTimeslotTask.h>
|
#include "../../osal/host/FixedTimeslotTask.h"
|
||||||
|
|
||||||
#include <framework/serviceinterface/ServiceInterfaceStream.h>
|
#include "../../serviceinterface/ServiceInterfaceStream.h"
|
||||||
#include <framework/tasks/ExecutableObjectIF.h>
|
#include "../../tasks/ExecutableObjectIF.h"
|
||||||
|
|
||||||
#include <thread>
|
#include <thread>
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
#ifndef FRAMEWORK_OSAL_HOST_FIXEDTIMESLOTTASK_H_
|
#ifndef FRAMEWORK_OSAL_HOST_FIXEDTIMESLOTTASK_H_
|
||||||
#define FRAMEWORK_OSAL_HOST_FIXEDTIMESLOTTASK_H_
|
#define FRAMEWORK_OSAL_HOST_FIXEDTIMESLOTTASK_H_
|
||||||
|
|
||||||
#include <framework/objectmanager/ObjectManagerIF.h>
|
#include "../../objectmanager/ObjectManagerIF.h"
|
||||||
#include <framework/tasks/FixedSlotSequence.h>
|
#include "../../tasks/FixedSlotSequence.h"
|
||||||
#include <framework/tasks/FixedTimeslotTaskIF.h>
|
#include "../../tasks/FixedTimeslotTaskIF.h"
|
||||||
#include <framework/tasks/Typedef.h>
|
#include "../../tasks/Typedef.h"
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <thread>
|
#include <thread>
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#include <framework/osal/host/MessageQueue.h>
|
#include "../../osal/host/MessageQueue.h"
|
||||||
#include <framework/serviceinterface/ServiceInterfaceStream.h>
|
#include "../../serviceinterface/ServiceInterfaceStream.h"
|
||||||
#include <framework/osal/host/QueueMapManager.h>
|
#include "../../osal/host/QueueMapManager.h"
|
||||||
#include <framework/ipc/MutexFactory.h>
|
#include "../../ipc/MutexFactory.h"
|
||||||
#include <framework/ipc/MutexHelper.h>
|
#include "../../ipc/MutexHelper.h"
|
||||||
|
|
||||||
MessageQueue::MessageQueue(size_t messageDepth, size_t maxMessageSize):
|
MessageQueue::MessageQueue(size_t messageDepth, size_t maxMessageSize):
|
||||||
messageSize(maxMessageSize), messageDepth(messageDepth) {
|
messageSize(maxMessageSize), messageDepth(messageDepth) {
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
#ifndef FRAMEWORK_OSAL_HOST_MESSAGEQUEUE_H_
|
#ifndef FRAMEWORK_OSAL_HOST_MESSAGEQUEUE_H_
|
||||||
#define FRAMEWORK_OSAL_HOST_MESSAGEQUEUE_H_
|
#define FRAMEWORK_OSAL_HOST_MESSAGEQUEUE_H_
|
||||||
|
|
||||||
#include <framework/internalError/InternalErrorReporterIF.h>
|
#include "../../internalError/InternalErrorReporterIF.h"
|
||||||
#include <framework/ipc/MessageQueueIF.h>
|
#include "../../ipc/MessageQueueIF.h"
|
||||||
#include <framework/ipc/MessageQueueMessage.h>
|
#include "../../ipc/MessageQueueMessage.h"
|
||||||
#include <framework/ipc/MutexIF.h>
|
#include "../../ipc/MutexIF.h"
|
||||||
#include <framework/timemanager/Clock.h>
|
#include "../../timemanager/Clock.h"
|
||||||
|
|
||||||
#include <queue>
|
#include <queue>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <framework/osal/host/Mutex.h>
|
#include "../../osal/host/Mutex.h"
|
||||||
#include <framework/serviceinterface/ServiceInterfaceStream.h>
|
#include "../../serviceinterface/ServiceInterfaceStream.h"
|
||||||
|
|
||||||
const uint32_t MutexIF::POLLING = 0;
|
const uint32_t MutexIF::POLLING = 0;
|
||||||
const uint32_t MutexIF::BLOCKING = 0xffffffff;
|
const uint32_t MutexIF::BLOCKING = 0xffffffff;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#ifndef FRAMEWORK_OSAL_FREERTOS_MUTEX_H_
|
#ifndef FRAMEWORK_OSAL_FREERTOS_MUTEX_H_
|
||||||
#define FRAMEWORK_OSAL_FREERTOS_MUTEX_H_
|
#define FRAMEWORK_OSAL_FREERTOS_MUTEX_H_
|
||||||
|
|
||||||
#include <framework/ipc/MutexIF.h>
|
#include "../../ipc/MutexIF.h"
|
||||||
|
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <framework/ipc/MutexFactory.h>
|
#include "../../ipc/MutexFactory.h"
|
||||||
#include <framework/osal/host/Mutex.h>
|
#include "../../osal/host/Mutex.h"
|
||||||
|
|
||||||
//TODO: Different variant than the lazy loading in QueueFactory.
|
//TODO: Different variant than the lazy loading in QueueFactory.
|
||||||
//What's better and why? -> one is on heap the other on bss/data
|
//What's better and why? -> one is on heap the other on bss/data
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
#include <framework/ipc/MutexFactory.h>
|
#include "../../ipc/MutexFactory.h"
|
||||||
#include <framework/osal/host/Mutex.h>
|
#include "../../osal/host/Mutex.h"
|
||||||
#include <framework/osal/host/PeriodicTask.h>
|
#include "../../osal/host/PeriodicTask.h"
|
||||||
|
|
||||||
#include <framework/serviceinterface/ServiceInterfaceStream.h>
|
#include "../../serviceinterface/ServiceInterfaceStream.h"
|
||||||
#include <framework/tasks/ExecutableObjectIF.h>
|
#include "../../tasks/ExecutableObjectIF.h"
|
||||||
|
|
||||||
#include <thread>
|
#include <thread>
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
#ifndef FRAMEWORK_OSAL_HOST_PERIODICTASK_H_
|
#ifndef FRAMEWORK_OSAL_HOST_PERIODICTASK_H_
|
||||||
#define FRAMEWORK_OSAL_HOST_PERIODICTASK_H_
|
#define FRAMEWORK_OSAL_HOST_PERIODICTASK_H_
|
||||||
|
|
||||||
#include <framework/objectmanager/ObjectManagerIF.h>
|
#include "../../objectmanager/ObjectManagerIF.h"
|
||||||
#include <framework/tasks/PeriodicTaskIF.h>
|
#include "../../tasks/PeriodicTaskIF.h"
|
||||||
#include <framework/tasks/Typedef.h>
|
#include "../../tasks/Typedef.h"
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <thread>
|
#include <thread>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include <framework/ipc/QueueFactory.h>
|
#include "../../ipc/QueueFactory.h"
|
||||||
#include <framework/osal/host/MessageQueue.h>
|
#include "../../osal/host/MessageQueue.h"
|
||||||
#include <framework/serviceinterface/ServiceInterfaceStream.h>
|
#include "../../serviceinterface/ServiceInterfaceStream.h"
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|
||||||
QueueFactory* QueueFactory::factoryInstance = nullptr;
|
QueueFactory* QueueFactory::factoryInstance = nullptr;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include <framework/ipc/MutexFactory.h>
|
#include "../../ipc/MutexFactory.h"
|
||||||
#include <framework/ipc/MutexHelper.h>
|
#include "../../ipc/MutexHelper.h"
|
||||||
#include <framework/osal/host/QueueMapManager.h>
|
#include "../../osal/host/QueueMapManager.h"
|
||||||
|
|
||||||
QueueMapManager* QueueMapManager::mqManagerInstance = nullptr;
|
QueueMapManager* QueueMapManager::mqManagerInstance = nullptr;
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#ifndef FRAMEWORK_OSAL_HOST_QUEUEMAP_H_
|
#ifndef FRAMEWORK_OSAL_HOST_QUEUEMAP_H_
|
||||||
#define FRAMEWORK_OSAL_HOST_QUEUEMAP_H_
|
#define FRAMEWORK_OSAL_HOST_QUEUEMAP_H_
|
||||||
|
|
||||||
#include <framework/ipc/MessageQueueSenderIF.h>
|
#include "../../ipc/MessageQueueSenderIF.h"
|
||||||
#include <framework/osal/host/MessageQueue.h>
|
#include "../../osal/host/MessageQueue.h"
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include <framework/tasks/SemaphoreFactory.h>
|
#include "../../tasks/SemaphoreFactory.h"
|
||||||
#include <framework/osal/linux/BinarySemaphore.h>
|
#include "../../osal/linux/BinarySemaphore.h"
|
||||||
#include <framework/osal/linux/CountingSemaphore.h>
|
#include "../../osal/linux/CountingSemaphore.h"
|
||||||
#include <framework/serviceinterface/ServiceInterfaceStream.h>
|
#include "../../serviceinterface/ServiceInterfaceStream.h"
|
||||||
|
|
||||||
const uint32_t SemaphoreIF::POLLING = 0;
|
const uint32_t SemaphoreIF::POLLING = 0;
|
||||||
const uint32_t SemaphoreIF::BLOCKING = 0xFFFFFFFF;
|
const uint32_t SemaphoreIF::BLOCKING = 0xFFFFFFFF;
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#include <framework/osal/host/FixedTimeslotTask.h>
|
#include "../../osal/host/FixedTimeslotTask.h"
|
||||||
#include <framework/osal/host/PeriodicTask.h>
|
#include "../../osal/host/PeriodicTask.h"
|
||||||
#include <framework/tasks/TaskFactory.h>
|
#include "../../tasks/TaskFactory.h"
|
||||||
#include <framework/returnvalues/HasReturnvaluesIF.h>
|
#include "../../returnvalues/HasReturnvaluesIF.h"
|
||||||
#include <framework/tasks/PeriodicTaskIF.h>
|
#include "../../tasks/PeriodicTaskIF.h"
|
||||||
|
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user