Adding Code for Linux
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user