fsfw/tcdistribution/PUSDistributorIF.h

28 lines
772 B
C
Raw Normal View History

2020-10-01 13:21:23 +02:00
#ifndef FSFW_TCDISTRIBUTION_PUSDISTRIBUTORIF_H_
#define FSFW_TCDISTRIBUTION_PUSDISTRIBUTORIF_H_
2020-08-28 18:33:29 +02:00
#include "../tmtcservices/AcceptsTelecommandsIF.h"
#include "../ipc/MessageQueueSenderIF.h"
2020-10-01 13:21:23 +02:00
2020-08-28 18:33:29 +02:00
/**
* This interface allows PUS Services to register themselves at a PUS Distributor.
2020-10-01 13:21:23 +02:00
* @ingroup tc_distribution
2020-08-28 18:33:29 +02:00
*/
class PUSDistributorIF {
public:
/**
* The empty virtual destructor.
*/
virtual ~PUSDistributorIF() {
}
/**
* With this method, Services can register themselves at the PUS Distributor.
* @param service A pointer to the registering Service.
2020-10-01 13:21:23 +02:00
* @return - @c RETURN_OK on success,
* - @c RETURN_FAILED on failure.
2020-08-28 18:33:29 +02:00
*/
virtual ReturnValue_t registerService( AcceptsTelecommandsIF* service ) = 0;
};
2020-10-01 13:21:23 +02:00
#endif /* FSFW_TCDISTRIBUTION_PUSDISTRIBUTORIF_H_ */