blob: 9eca7282053d9d490e45b8eb2c3e25998097400a [file] [log] [blame]
#ifndef TOP_HH
#define TOP_HH
#include "umlrtcapsule.hh"
#include "umlrtcapsuleclass.hh"
#include "umlrtmessage.hh"
struct UMLRTCapsulePart;
struct UMLRTCommsPort;
struct UMLRTSlot;
class Capsule_Top : public UMLRTCapsule
{
public:
Capsule_Top( const UMLRTCapsuleClass * cd, UMLRTSlot * st, const UMLRTCommsPort * * border, const UMLRTCommsPort * * internal, bool isStat );
enum PartId
{
part_computerSystem
};
protected:
const UMLRTCapsulePart * const computerSystem;
public:
virtual void bindPort( bool isBorder, int portId, int index );
virtual void unbindPort( bool isBorder, int portId, int index );
virtual void initialize( const UMLRTMessage & msg );
virtual void inject( const UMLRTMessage & msg );
};
extern const UMLRTCapsuleClass Top;
#endif