GSI Object Oriented Online Offline (Go4)
GO4-6.3.0
|
#include <TGo4ComMasterQuit.h>
Public Member Functions | |
TGo4ComMasterQuit () | |
Int_t | ExeCom () override |
ClassDefOverride (TGo4ComMasterQuit, 1) | |
![]() | |
TGo4TaskHandlerCommand () | |
TGo4TaskHandlerCommand (const char *name, const char *description) | |
Int_t | RefuseCom () override |
![]() | |
TGo4Command () | |
TGo4Command (const char *name, const char *description, Int_t id) | |
virtual | ~TGo4Command () |
virtual Bool_t | Log (Int_t mode=0) |
Bool_t | IsEnabled () const |
Bool_t | IsExclusive () const |
Bool_t | IsLocal () const |
virtual void | Help () |
Int_t | GetCommandID () const |
Bool_t | IsSynchron () const |
const char * | GetReceiverName () const |
void | SetReceiverName (const char *) |
const char * | GetTaskName () const |
void | SetTaskName (const char *) |
const char * | What () const |
void | SetDescription (const char *) |
virtual void | SetReceiver (TGo4CommandReceiver *rec) |
Go4CommandMode_t | GetProtection () const |
Go4CommandMode_t | GetMode () const |
virtual void | Set (TGo4RemoteCommand *remcon) |
void | SetMode (Go4CommandMode_t m) |
Additional Inherited Members | |
![]() | |
static const char * | GetModeDescription (Go4CommandMode_t mode) |
![]() | |
void | SetProtection (Go4CommandMode_t m) |
![]() | |
Bool_t | fbIsEnabled {kFALSE} |
Bool_t | fbIsExclusive {kFALSE} |
Bool_t | fbIsSynchron {kFALSE} |
Bool_t | fbIsLocal {kFALSE} |
Int_t | fiCommandID {0} |
Int_t | fiVersion {0} |
Go4CommandMode_t | fiMode {kGo4ComModeRefused} |
Go4CommandMode_t | fiProtection {kGo4ComModeRefused} |
TGo4CommandReceiver * | fxReceiverBase {nullptr} |
![]() | |
static const char * | fgcMODEDESCRIPTION [] |
Master Command to quit (terminate) the master application. If master is in server mode, all slave clients are shut down before master quits. If master is connected as client to a slave server, this command will not terminate the slave.
Definition at line 26 of file TGo4ComMasterQuit.h.
TGo4ComMasterQuit::TGo4ComMasterQuit | ( | ) |
Definition at line 19 of file TGo4ComMasterQuit.cxx.
References TGo4Command::fbIsLocal, TGo4Command::fbIsSynchron, and TGo4Command::SetReceiverName().
TGo4ComMasterQuit::ClassDefOverride | ( | TGo4ComMasterQuit | , |
1 | |||
) |
|
overridevirtual |
Do the command action
Reimplemented from TGo4Command.
Definition at line 28 of file TGo4ComMasterQuit.cxx.
References TGo4Log::Debug(), TGo4Command::fxReceiverBase, and TGo4TaskOwner::Quit().