blob: 35a6ec8aa27cf2a252bda5b93e3f97d3f8f7897b [file] [log] [blame]
#include "Application.hh"
#include "umlrtslot.hh"
#include <cstddef>
#include "umlrtcapsuleclass.hh"
class UMLRTRtsInterface;
struct UMLRTCommsPort;
Capsule_Application::Capsule_Application( const UMLRTCapsuleClass * cd, UMLRTSlot * st, const UMLRTCommsPort * * border, const UMLRTCommsPort * * internal, bool isStat )
: UMLRTCapsule( NULL, cd, st, border, internal, isStat )
{
}
void Capsule_Application::bindPort( bool isBorder, int portId, int index )
{
}
void Capsule_Application::unbindPort( bool isBorder, int portId, int index )
{
}
void Capsule_Application::initialize( const UMLRTMessage & msg )
{
}
void Capsule_Application::inject( const UMLRTMessage & msg )
{
}
static void instantiate_Application( const UMLRTRtsInterface * rts, UMLRTSlot * slot, const UMLRTCommsPort * * borderPorts )
{
slot->capsule = new Capsule_Application( &Application, slot, borderPorts, NULL, false );
}
const UMLRTCapsuleClass Application =
{
"Application",
NULL,
instantiate_Application,
0,
NULL,
0,
NULL,
0,
NULL
};