#include <FileSrv.hh>
Collaboration diagram for clFileSrv:

Public Member Functions | |
| clFileSrv () | |
| ~clFileSrv () | |
| int | Main (int *, char ***) |
| gboolean | OnDelete (GtkWidget *, GdkEvent *, gpointer) |
| void | OnFileSelectOkClick (GtkButton *, gpointer) |
| void | OnFileSelectCancelClick (GtkButton *, gpointer) |
| void | OnBrowseClick (GtkButton *, gpointer) |
| void | OnPlayStopToggle (GtkToggleButton *, gpointer) |
| void | OnPositionChange (GtkAdjustment *, gpointer) |
| void * | ReaderThread (void *) |
| void * | ServerThread (void *) |
| void * | ServeClientThread (void *) |
Private Member Functions | |
| bool | Build () |
| bool | BuildTable1 () |
| bool | BuildTable2 () |
| bool | ConnectSignals () |
| double | GetTime () |
| void | ShortSleep (long) |
Private Attributes | |
| volatile bool | bRun |
| timeval | sTimeStamp |
| SNDFILE * | sndfileFile |
| SF_INFO | sFileInfo |
| clAlloc | AudioBlock |
| clCondition | CndReady |
| clMutex | MtxAudio |
| clReBufferT< double > | StreamBuf |
| long | lEpoch |
| clAlloc | ConvBuf |
| clCfgFile | Cfg |
| GtkWidget * | gwWindow |
| GtkWidget * | gwVBox |
| GtkWidget * | gwFileSelect |
| GtkWidget * | gwTable1 |
| GtkWidget * | gwLFile |
| GtkWidget * | gwEFile |
| GtkWidget * | gwBBrowse |
| GtkObject * | gaPosition |
| GtkWidget * | gwTable2 |
| GtkWidget * | gwTBPlayStop |
| GtkWidget * | gwLPosition |
| GtkWidget * | gwHSPosition |
Definition at line 57 of file FileSrv.hh.
|
|
Definition at line 349 of file FileSrv.cc. References bRun, lEpoch, and sndfileFile. |
|
|
Definition at line 360 of file FileSrv.cc. |
|
|
Definition at line 130 of file FileSrv.cc. References BuildTable1(), BuildTable2(), ConnectSignals(), cpFileSelectTxt, cpWindowTxt, FS_WSPACING, gwFileSelect, gwVBox, and gwWindow. Referenced by Main(). |
|
|
Definition at line 154 of file FileSrv.cc. References cpBrowseTxt, cpFileTxt, FS_WSPACING, gwBBrowse, gwEFile, gwLFile, gwTable1, and gwVBox. Referenced by Build(). |
|
|
Definition at line 193 of file FileSrv.cc. References cpPlayStopTxt, cpPositionTxt, FS_WSPACING, gaPosition, gwHSPosition, gwLPosition, gwTable2, gwTBPlayStop, and gwVBox. Referenced by Build(). |
|
|
Definition at line 236 of file FileSrv.cc. References gwBBrowse, gwFileSelect, gwTBPlayStop, gwWindow, WrapOnBrowseClick(), WrapOnDelete(), WrapOnFileSelectCancelClick(), WrapOnFileSelectOkClick(), and WrapOnPlayStopToggle(). Referenced by Build(). |
|
|
Definition at line 263 of file FileSrv.cc. References lEpoch. Referenced by ReaderThread(). |
|
|
Definition at line 283 of file FileSrv.cc. Referenced by ReaderThread(). |
|
||||||||||||
|
Definition at line 365 of file FileSrv.cc. References AudioBlock, Build(), Cfg, cpWindowTxt, FileSrvThreads(), FS_CFGFILE, FS_DEFAULT_PORT, FS_FRAG_SIZE_DEFAULT, FS_VER_MAJ, FS_VER_MIN, FS_VER_PL, GDT, clCfgFile::GetInt(), ReaderThread(), ServerThread(), and clCfgFile::SetFileName(). Referenced by main(). |
|
||||||||||||||||
|
Definition at line 406 of file FileSrv.cc. References bRun. Referenced by WrapOnDelete(). |
|
||||||||||||
|
Definition at line 415 of file FileSrv.cc. References gwEFile, and gwFileSelect. Referenced by WrapOnFileSelectOkClick(). |
|
||||||||||||
|
Definition at line 432 of file FileSrv.cc. References gwFileSelect. Referenced by WrapOnFileSelectCancelClick(). |
|
||||||||||||
|
Definition at line 438 of file FileSrv.cc. References gwFileSelect. Referenced by WrapOnBrowseClick(). |
|
||||||||||||
|
Definition at line 444 of file FileSrv.cc. References gaPosition, gwEFile, MtxAudio, sFileInfo, and sndfileFile. Referenced by WrapOnPlayStopToggle(). |
|
||||||||||||
|
Definition at line 504 of file FileSrv.cc. Referenced by WrapOnPositionChange(). |
|
|
Definition at line 509 of file FileSrv.cc. References AudioBlock, bRun, CndReady, FileSrvThreads(), FS_INTHREAD_PRIORITY, gaPosition, GDT, GetTime(), MtxAudio, sFileInfo, ShortSleep(), sndfileFile, sTimeStamp, and StreamBuf. Referenced by Main(). |
|
|
Definition at line 608 of file FileSrv.cc. References clSockServ::Bind(), bRun, FileSrvThreads(), FS_ACCEPT_TIMEOUT, ServeClientThread(), and clSockServ::WaitForConnect(). Referenced by Main(). |
|
|
Definition at line 632 of file FileSrv.cc. References AudioBlock, bRun, CndReady, clSockOp::DisableNagle(), FileSrvThreads(), FS_OUTTHREAD_PRIORITY, GDT, GLOBAL_HEADER_LEN, MSG_SOUND_COMPRESS_NONE, MtxAudio, clSoundMsg::SetData(), clSoundMsg::SetStart(), clSockOp::SetTypeOfService(), sFileInfo, SOp, sTimeStamp, and clSockOp::WriteN(). Referenced by ServerThread(). |
|
|
Definition at line 60 of file FileSrv.hh. Referenced by clFileSrv(), OnDelete(), ReaderThread(), ServeClientThread(), and ServerThread(). |
|
|
Definition at line 61 of file FileSrv.hh. Referenced by ReaderThread(), and ServeClientThread(). |
|
|
Definition at line 62 of file FileSrv.hh. Referenced by clFileSrv(), OnPlayStopToggle(), and ReaderThread(). |
|
|
Definition at line 63 of file FileSrv.hh. Referenced by OnPlayStopToggle(), ReaderThread(), and ServeClientThread(). |
|
|
Definition at line 67 of file FileSrv.hh. Referenced by Main(), ReaderThread(), and ServeClientThread(). |
|
|
Definition at line 68 of file FileSrv.hh. Referenced by ReaderThread(), and ServeClientThread(). |
|
|
Definition at line 69 of file FileSrv.hh. Referenced by OnPlayStopToggle(), ReaderThread(), and ServeClientThread(). |
|
|
Definition at line 70 of file FileSrv.hh. Referenced by ReaderThread(). |
|
|
Definition at line 72 of file FileSrv.hh. Referenced by clFileSrv(), and GetTime(). |
|
|
Definition at line 73 of file FileSrv.hh. |
|
|
Definition at line 74 of file FileSrv.hh. Referenced by Main(). |
|
|
Definition at line 76 of file FileSrv.hh. Referenced by Build(), and ConnectSignals(). |
|
|
Definition at line 77 of file FileSrv.hh. Referenced by Build(), BuildTable1(), and BuildTable2(). |
|
|
Definition at line 78 of file FileSrv.hh. Referenced by Build(), ConnectSignals(), OnBrowseClick(), OnFileSelectCancelClick(), and OnFileSelectOkClick(). |
|
|
Definition at line 80 of file FileSrv.hh. Referenced by BuildTable1(). |
|
|
Definition at line 81 of file FileSrv.hh. Referenced by BuildTable1(). |
|
|
Definition at line 82 of file FileSrv.hh. Referenced by BuildTable1(), OnFileSelectOkClick(), and OnPlayStopToggle(). |
|
|
Definition at line 83 of file FileSrv.hh. Referenced by BuildTable1(), and ConnectSignals(). |
|
|
Definition at line 85 of file FileSrv.hh. Referenced by BuildTable2(), OnPlayStopToggle(), and ReaderThread(). |
|
|
Definition at line 86 of file FileSrv.hh. Referenced by BuildTable2(). |
|
|
Definition at line 87 of file FileSrv.hh. Referenced by BuildTable2(), and ConnectSignals(). |
|
|
Definition at line 88 of file FileSrv.hh. Referenced by BuildTable2(). |
|
|
Definition at line 89 of file FileSrv.hh. Referenced by BuildTable2(). |
1.3.3