1
0
forked from fsfw/fsfw

Adding Code for Linux

This commit is contained in:
2018-07-13 18:28:26 +02:00
parent db1f93a155
commit fd782b20c0
90 changed files with 2411 additions and 1497 deletions

View File

@ -1,11 +1,12 @@
#ifndef RMAPCHANNELIF_H_
#define RMAPCHANNELIF_H_
#include <framework/rmap/RMAP.h>
#include <framework/tasks/PeriodicTaskIF.h>
#include <framework/rmap/RMAPCookie.h>
#include <framework/returnvalues/HasReturnvaluesIF.h>
class RMAPChannelIF: public RMAP {
class RMAPChannelIF {
public:
virtual ~RMAPChannelIF(){};
/**
* Reset an RMAP channel
*
@ -42,7 +43,7 @@ public:
* - @c COMMAND_PORT_OUT_OF_RANGE if the port is invalid
*/
virtual ReturnValue_t setPort(int8_t port, uint8_t dest_addr,
uint8_t src_addr, PeriodicTaskIF* currentTask)=0;
uint8_t src_addr)=0;
/**
* Assign a SpaceWire port to the Channel
@ -54,7 +55,7 @@ public:
* - @c COMMAND_OK if port was changed
* - @c COMMAND_PORT_OUT_OF_RANGE if the port is invalid
*/
virtual ReturnValue_t setPort(int8_t port, PeriodicTaskIF* currentTask)=0;
virtual ReturnValue_t setPort(int8_t port)=0;
/**
* Send an RMAP command