// $Id: EC.idl 86021 2009-07-14 12:14:35Z wotte $
//=============================================================================
/**
 * @file EC.idl
 *
 * Definition of events, and common interfaces used in the BasicSP module.
 *
 * @author Balachandran Natarajan <bala@dre.vanderbilt.edu>
 */
//=============================================================================

#ifndef CIAO_EC_IDL
#define CIAO_EC_IDL

#include "BasicSP.idl"

module BasicSP
{
  interface trigger
  {
    void start ();
    void stop ();
  };
    
  component EC supports trigger
  {
    publishes TimeOut timeout;

    /// The attribute can be configured via the home or the
    /// component property file.
    attribute long hertz;
  };

  home ECHome manages EC
  {
    // Explicit operations
    factory new_EC (in long hertz);
  };
};

#endif /* CIAO_EC_IDL*/
