blob: 221e0d189861bf01bc9e6299c32ef7dbf85216dd [file]
#ifndef CONTROL_HH
#define CONTROL_HH
#include "umlrtoutsignal.hh"
#include "umlrtprotocol.hh"
#include "umlrtsignal.hh"
struct UMLRTCommsPort;
namespace Control
{
class Base : public UMLRTProtocol
{
public:
Base( const UMLRTCommsPort * & srcPort );
UMLRTOutSignal start() const;
UMLRTOutSignal stop() const;
};
class Conj : public UMLRTProtocol
{
public:
Conj( const UMLRTCommsPort * & srcPort );
UMLRTOutSignal done() const;
UMLRTOutSignal ready() const;
};
enum SignalId
{
signal_done = UMLRTSignal::FIRST_PROTOCOL_SIGNAL_ID,
signal_ready,
signal_start,
signal_stop
};
};
#endif