Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

/home/vlg/develop/gwavmerger/raven/WavInfo.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by assa-genesis
00003 //------------------------------------------------------------------------------
00004 // $Id: WavInfo.h,v 1.4 2003/02/07 05:15:08 vlg Exp $
00005 //------------------------------------------------------------------------------
00006 //                            WavInfo.h
00007 //------------------------------------------------------------------------------
00008 //
00009 // Author : Vladislav Grinchenko
00010 // Date   : Sun Dec 16 18:27:08 2001
00011 //
00012 // History:
00013 //
00014 // When        Who  What
00015 // ----------  ---  --------------------------
00016 // 12/16/01    VLG  Created
00017 //
00018 //------------------------------------------------------------------------------
00019 #ifndef WavInfo_H
00020 #define WavInfo_H
00021 
00022 #include "assa/GenServer.h"
00023 #include "assa/Singleton.h"
00024 #include "assa/TimeVal.h"
00025 
00026 #include <string>
00027 using std::string;
00028 
00029 class WavInfo :
00030     public ASSA::GenServer,
00031     public ASSA::Singleton<WavInfo>
00032 {
00033 public:
00034     WavInfo ();
00035 
00036     virtual void initServer ();
00037     virtual void processServer ();
00038 
00039     int  get_exit_value () const { return m_exit_value; }
00040     void set_exit_value (int v_) { m_exit_value = v_;   }
00041 
00042 private:
00043     // An example of processing positional arguments
00044     virtual void pos_arg (const char* arg_);
00045 
00046 private:
00047     string  m_wav_file;
00048     u_int   m_pos_arg_count;  // Number of pos. arguments processed
00049     int     m_exit_value;     // Return status of the process
00050     bool    m_silent;       // Don't report any information to stdout
00051 };
00052 
00053 #endif // WavInfo_H
00054 

Generated on Tue Feb 11 23:05:19 2003 for gwavmerger by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002