annotate modules/bluespec/Pygar/common/AudioProcessorRRR.h @ 10:295314b16220 pygar svn.11

[svn r11] updates to status
author punk
date Fri, 23 Apr 2010 09:35:02 -0400
parents 74716e9a81cc
children
rev   line source
rlm@8 1
rlm@8 2 #ifndef _AUDIOPROCESSORRRR_
rlm@8 3 #define _AUDIOPROCESSORRRR_
rlm@8 4
rlm@8 5 #include <stdio.h>
rlm@8 6 #include <sys/time.h>
rlm@8 7
rlm@8 8 #include "asim/provides/low_level_platform_interface.h"
rlm@8 9
rlm@8 10 #include "asim/provides/rrr.h"
rlm@8 11
rlm@8 12
rlm@8 13
rlm@8 14 typedef class AUDIOPROCESSORRRR_SERVER_CLASS* AUDIOPROCESSORRRR_SERVER;
rlm@8 15 class AUDIOPROCESSORRRR_SERVER_CLASS: public RRR_SERVER_CLASS, public PLATFORMS_MODULE_CLASS
rlm@8 16 {
rlm@8 17 private:
rlm@8 18 // self-instantiation
rlm@8 19 static AUDIOPROCESSORRRR_SERVER_CLASS instance;
rlm@8 20 FILE *outputFile;
rlm@8 21
rlm@8 22 // server stub
rlm@8 23 RRR_SERVER_STUB serverStub;
rlm@8 24
rlm@8 25 int count;
rlm@8 26
rlm@8 27 public:
rlm@8 28 AUDIOPROCESSORRRR_SERVER_CLASS();
rlm@8 29 ~AUDIOPROCESSORRRR_SERVER_CLASS();
rlm@8 30
rlm@8 31 // static methods
rlm@8 32 static AUDIOPROCESSORRRR_SERVER GetInstance() { return &instance; }
rlm@8 33
rlm@8 34 // required RRR methods
rlm@8 35 void Init(PLATFORMS_MODULE);
rlm@8 36 void Uninit();
rlm@8 37 void Cleanup();
rlm@8 38
rlm@8 39 //
rlm@8 40 // RRR service methods
rlm@8 41 //
rlm@8 42 void SendProcessedStream(UINT16 control, UINT16 data0);
rlm@8 43 };
rlm@8 44
rlm@8 45
rlm@8 46
rlm@8 47 // include server stub
rlm@8 48 #include "asim/rrr/server_stub_AUDIOPROCESSORRRR.h"
rlm@8 49
rlm@8 50 #endif