/* -*- c++ -*- */
//=============================================================================
/**
 *  @file    ami4ccm_sendc_ex_idl.h
 *
 *  Concrete visitor for the AMI4CCM Interface node.
 *  This one provides code generation for interfaces in the executor IDL.
 *
 *  @author Jeff Parsons
 */
//=============================================================================

#ifndef _AMI4CCM_SENDC_EX_IDL_H_
#define _AMI4CCM_SENDC_EX_IDL_H_

/**
 * @class be_visitor_ami4ccm_sendc_ex_idl
 *
 * @brief be_visitor_ami4ccm_sendc_ex_idl
 *
 * This is a concrete visitor to generate the sendc_* operation
 * interface IDL in the local executor mapping IDL file.
 */
class be_visitor_ami4ccm_sendc_ex_idl : public be_visitor_scope
{
public:
  be_visitor_ami4ccm_sendc_ex_idl (be_visitor_context *ctx);

  ~be_visitor_ami4ccm_sendc_ex_idl ();

  virtual int visit_interface (be_interface *node);
  virtual int visit_operation (be_operation *node);
  virtual int visit_argument (be_argument *node);
  virtual int visit_string (be_string *node);
  virtual int visit_sequence (be_sequence *node);

  virtual int pre_process (be_decl *node);

private:
  TAO_OutStream &os_;
  be_interface *iface_;
};

#endif /* _AMI4CCM_SENDC_EX_IDL_H_ */
