
#ifndef _MULTIBEAMERINPUT_H
#define _MULTIBEAMERINPUT_H

#include "SharedData.h"

#define MultibeamerInputName "MultibeamerInput_ShmemName"

/*
CLASS 
MultibeamerInput

DESCRIPTION
Control variables for Multibeam driver

AUTHOR
Henthorn
*/
class MultibeamerInput : public SharedData {

public:

  struct Data {
    Boolean enabled;
  };

  MultibeamerInput(Access access = NoAccess, Boolean init = False); 

  ~MultibeamerInput();

  ////////////////////////////////////////////////////////////////////
  // Read from shared memory to this object's Data::data element
  void read();

  ////////////////////////////////////////////////////////////////////
  // Write from this object's Data::data element to shared memory
  void write();

  ////////////////////////////////////////////////////////////////////
  // Your application accesses the fields of this Data object, before 
  // calling write() or after calling read().
  Data data;

};

#endif
