ProvidesConcatParmsSkel.h

// -*-c++-*-
#ifndef PROVIDES_CONCAT_PARMS_SKEL_H__
#define PROVIDES_CONCAT_PARMS_SKEL_H__

#include "../../ccacore/Port.h"
#include "../../ccacore/UsesPort.h"
#include "../../ccacore/ProvidesPort.h"
#include "../../ccacore/PortSkelUses.h"
#include "../../ccacore/PortSkel.h"
#include "../../exceptions/AlreadyRegisteredException.h"
#include "../../exceptions/NotRegisteredException.h"
#include "../../util/MyHPCxx_GlobalPtr.h"
#include "ProvidesConcatParms.h"
#include "UsesConcatParms.h"
#include "ConcatParms_idl.h"
#include "ConcatParms.h"
#include "../PORTS_REGISTRATION_ID.h"
#include < iostream.h >
#include < string >


class ProvidesConcatParmsSkel: public PortSkel {
public:
  ProvidesConcatParmsSkel(Port *executingPort);
  static int registrationID() { return PROVIDES_CONCAT_PARMS_SKEL_ID; }
  int sendConcatParms(ConcatParms concatParms);
  int start();
  int stop();
  int kill();

  // port registration
  static void registerSelf ();

private:
  static bool registerFlag;  
};

// These packs are never called because we don't move skels.
void hpcxx_pack(HPCxx_Buffer& b, ProvidesConcatParmsSkel* p, int count);
void hpcxx_unpack(HPCxx_Buffer& b, ProvidesConcatParmsSkel* p, int count);
void registerConcatParmsPorts();

#endif // _PROVIDES_CONCAT_PARMS_SKEL_H__

Back to CCA Compliant HPC++ based CCAT Components
mgovinda@cs.indiana.edu
Last modified: Tue Jan 25 14:24:47 EST 2000