//=========================================================================
// Summary  : */
// Filename : DriverOutput.cc
// Author   : */
// Project  : */
// Revision : 1
// Created  : 2000/08/19
// Modified : 2000/08/19
//=========================================================================
// Description :
//=========================================================================
#include <malloc.h>
#include "DriverOutput.h"
#include "Exception.h"
#include "Syslog.h"

DriverOutput::DriverOutput(const char *name,
			   Boolean serverSide,
			   int nDataBytes,
			   Access access,
			   Boolean init)
  : SharedData(name, nDataBytes, access, init)
{
//  Syslog::write("DriverOutput:: do nothing for now\n"); 
  //if (serverSide) {

    // Server sets status values to uninitialized
  // clear();  
  //  }
}


DriverOutput::~DriverOutput()
{
}

void DriverOutput::read()
{
  SharedData::read((void *)data_skel);
}

void DriverOutput::write()
{
  SharedData::write((void *)data_skel); 
}

void DriverOutput::read(Data_Skel *data)
{
  //Syslog::write("Driveroutput::reading %d bytes\n", sizeof(data));
 SharedData::read((void *)data);
}

void DriverOutput::write(Data_Skel *data)
{
  //  Syslog::write("Driveroutput::writing %d bytes\n",sizeof(data));
  SharedData::write((void *)data);
}



