source: branches/start/MagicSoft/Mars/mbase/MInputStreamID.h@ 9223

Last change on this file since 9223 was 454, checked in by harald, 24 years ago
Import the first sources of the MAGIC Analysis and Reconstruction Software. T. Bretz and H. Kornmayer 20.December 2000
File size: 1.3 KB
Line 
1#ifndef MINPUTSTREAMID_H
2#define MINPUTSTREAMID_H
3///////////////////////////////////////////////////////////////////////
4// //
5// MInpuStreamID //
6// //
7// This is the storage container for general (CaOs, Raw, ...) Event //
8// Info like the type of the 'actual' event //
9// //
10///////////////////////////////////////////////////////////////////////
11
12#ifndef MPARCONTAINER_H
13#include "MParContainer.h"
14#endif
15
16// -----------------------------------------------------------------------
17
18class MInputStreamID : public MParContainer
19{
20private:
21 char *fStreamId; //! which type of task should be processed?
22
23public:
24 MInputStreamID(const char *name=NULL, const char *title=NULL);
25
26 const char *GetStreamId()
27 {
28 return (const char *)fStreamId;
29 }
30 void SetStreamId(const char *t)
31 {
32 delete fStreamId;
33 fStreamId = new char[strlen(t)+1];
34 strcpy(fStreamId, t);
35 }
36
37 ClassDef(MInputStreamID, 1) // Process control container for the task list
38};
39
40// ---------------------------------------------------------------------
41
42#endif
Note: See TracBrowser for help on using the repository browser.