blob: f183a259adb156e77847f5b1c6f9ab09ef03e114 [file]
#ifndef PROTOCOL1_HH
#define PROTOCOL1_HH
#include "umlrtoutsignal.hh"
#include "umlrtprotocol.hh"
#include "umlrtsignal.hh"
struct UMLRTCommsPort;
namespace Protocol1
{
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