Inheritance diagram for TFndSCCMan:
Public Types | |
enum | E_SCC_MAN_GuiComm_t { E_SCC_MAN_GuiComm_Idle = 0, E_SCC_MAN_GuiComm_Building = 1, E_SCC_MAN_GuiComm_Sent = 2, E_SCC_MAN_GuiComm_Stored = 3 } |
Public Member Functions | |
TFndSCCMan () | |
~TFndSCCMan () | |
Int_t | SockId2SlowId (Int_t sock_idx) |
Int_t | SlowId2SockId (Int_t slow_det, Int_t part=1) |
void | StopAllThreads () |
Int_t | IsReceiveThreadRunning (Int_t slow_det) |
Int_t | StartReceiveThread (Int_t slow_det) |
Int_t | StopReceiveThread (Int_t slow_det) |
Int_t | GetSocketDescriptor (Int_t sock_idx) |
void | PrintSlowDetDataValues (Int_t slow_det) |
void | PrintSlowDetMessage (Int_t slow_det) |
void | PrintSlowDetMiscValues (Int_t slow_det) |
Int_t | PrintSlowDetInfo (Int_t slow_det, Bool_t check_receive_thread=kFALSE) |
Int_t | PrintAllInfo (Bool_t check_receive_thread=kFALSE) |
sockaddr_in | GetLocSockAddr (Int_t sock_idx) |
Int_t | GetReceivedEv (Int_t sock_idx) |
void | IncrReceivedEv (Int_t sock_idx) |
virtual void | ReceivedEvent (Int_t slow_det, Int_t part)=0 |
virtual void | ScheduledOperationPerformed (E_SCC_MAN_GuiComm_t oper, Bool_t UpdateTime=kFALSE)=0 |
TThread * | GetReceiveThread (Int_t slow_det) |
Int_t | StartSendThread () |
Int_t | StopSendThread () |
Int_t | IsSendThreadThreadRunning () |
void | SetMustSendToDAQ (const Bool_t &val) |
void | SetMustSaveLocalRaw (const Bool_t &val) |
Bool_t | GetMustSendToDAQ () |
Bool_t | GetMustSaveLocalRaw () |
Int_t | ScheduledOperation () |
virtual void | OpenLogFile (E_SCC_LogType log_type, const TString &fdir, const TString &fnam, const Bool_t &reset_old) |
virtual void | CloseLogFile (E_SCC_LogType log_type) |
virtual void | WriteLogFile (E_SCC_LogType log_type, const TString &line) |
virtual void | UpdateCurrentLogFile () |
virtual Int_t | OpenRawFile (const TString &fpath) |
virtual Int_t | CloseRawFile () |
virtual UInt_t * | GetNextRawEvent (Int_t &exit_val) |
virtual Int_t | GlobalEventToGlobalHeader () |
virtual Int_t | GlobalEventToDetEvents () |
virtual Int_t | DetEventToMsgPart (const Int_t &slow_det) |
virtual Int_t | OpenRawFile (const TString &fdir, const TString &fnam) |
virtual Int_t | OpenRawFile (const TString &fdir, const UInt_t &day, const UInt_t &month, const UInt_t &year) |
virtual Int_t | OpenRawFile (const TString &fdir, const TDatime &date_time) |
Static Public Member Functions | |
static void * | Receiver (void *arg) |
Public Attributes | |
Bool_t | fSendingData |
Protected Types | |
enum | E_SCC_LogType { E_SCC_Log_Status = 0, E_SCC_Log_Store = 1, E_SCC_Log_End = 2 } |
Protected Attributes | |
TThread * | fReceiveThread [K_N_SOCKS_IN] |
Int_t | fSockDescr [K_N_SOCKS_IN] |
sockaddr_in | fLocSockAddr [K_N_SOCKS_IN] |
Int_t | fCurReceivedEv [K_N_SOCKS_IN] |
TThread * | fSendThread |
Int_t | fCurSent |
TTimer * | fTimer |
Int_t | fUpdateInterval |
Int_t | fCounterUpdate |
Int_t | fRatioUpdate |
Bool_t | fMustSendToDAQ |
Bool_t | fMustSaveLocalRaw |
ofstream * | fCurLogFile [(Int_t) E_SCC_Log_End] |
ofstream * | fCurOutRawFile |
shared log-files | |
TString | fLogFilesPath [(Int_t) E_SCC_Log_End] |
output raw-file | |
TString | fRawFilesPath |
FILE * | fRawFile |
Definition at line 32 of file TFndSCCMan.h.
enum TFndSCCMan::E_SCC_LogType [protected] |
Definition at line 36 of file TFndSCCMan.h.
00036 { 00037 E_SCC_Log_Status = 0, // information about all detectors 00038 E_SCC_Log_Store = 1, // log of every stored (sent) event 00039 E_SCC_Log_End = 2 // used for arrays 00040 };
E_SCC_MAN_GuiComm_Idle | |
E_SCC_MAN_GuiComm_Building | |
E_SCC_MAN_GuiComm_Sent | |
E_SCC_MAN_GuiComm_Stored |
Definition at line 85 of file TFndSCCMan.h.
00085 { 00086 E_SCC_MAN_GuiComm_Idle = 0, 00087 E_SCC_MAN_GuiComm_Building = 1, 00088 E_SCC_MAN_GuiComm_Sent = 2, 00089 E_SCC_MAN_GuiComm_Stored = 3, 00090 };