11#define ElogTrigger_H 1
27 TString str_trigger_info;
int SetTriggerInfo(TString trigger_info)
set trigger info of the current trigger
static int CheckTriggerExists(int trigger_id)
check trigger exists in the database: 1- true, 0 - false, <0 - database operation error
static int DeleteTrigger(TString trigger_info)
delete trigger from the database
static ElogTrigger * GetTrigger(TString trigger_info)
get trigger from the database
static int CheckTriggerExists(TString trigger_info)
check trigger exists in the database: 1- true, 0 - false, <0 - database operation error
static ElogTrigger * GetTrigger(int trigger_id)
get trigger from the database
void Print()
print information about current trigger
static int DeleteTrigger(int trigger_id)
delete trigger from the database
bool GetIsActive()
get is active of the current trigger
TString GetTriggerInfo()
get trigger info of the current trigger
static ElogTrigger * CreateTrigger(TString trigger_info, bool is_active)
add new trigger to the database
static int PrintAll()
print all triggers
int GetTriggerId()
get trigger id of the current trigger
int SetIsActive(bool is_active)
set is active of the current trigger