11#define ElogTrigger_H 1
27 TString str_trigger_info;
static int PrintAll()
print all triggers
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 ElogTrigger * GetTrigger(int trigger_id)
get trigger from the database
static int DeleteTrigger(int trigger_id)
delete trigger from the database
void Print()
print information about current trigger
bool GetIsActive()
get is active of the current trigger
static ElogTrigger * CreateTrigger(TString trigger_info, bool is_active)
add new trigger to the database
TString GetTriggerInfo()
get trigger info of the current trigger
int GetTriggerId()
get trigger id of the current trigger
int SetIsActive(bool is_active)
set is active of the current trigger