UsesConcatParmsSkel.h


// -*-c++-*-

#ifndef _USES_CONCAT_PARMS_SKEL_H__
#define _USES_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 "../PORTS_REGISTRATION_ID.h"
#include < iostream.h >
#include < string >


class UsesConcatParmsPortSkel: public UsesConcatParmsPort {
public:
  UsesConcatParmsPortSkel(): UsesConcatParmsPort() {}
  UsesConcatParmsPortSkel(Port *): UsesConcatParmsPort() {}
  
  // these are local method invocations
  int sendConcatParms(ConcatParms *concatParms);
  int start();
  int stop();
  int kill();
  friend void hpcxx_pack(HPCxx_Buffer& b, UsesConcatParmsPortSkel* p, int count);
  friend void hpcxx_unpack(HPCxx_Buffer& b, UsesConcatParmsPortSkel* p, int count);

  // port registration
  static void registerSelf ();

private:
  static bool registerFlag;  
};

#endif // _USES_CONCAT_PARMS_SKEL_H__



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