My Project
Public Member Functions
LibThread::Trigger Class Referenceabstract

Public Member Functions

virtual bool accept (leftv arg)=0
 
virtual void activate (leftv arg)=0
 
 Trigger ()
 
- Public Member Functions inherited from LibThread::Job
 Job ()
 
 ~Job ()
 
void addDep (Job *job)
 
void addDep (vector< Job * > &jobs)
 
void addDep (long ndeps, Job **jobs)
 
void addNotify (vector< Job * > &jobs)
 
void addNotify (Job *job)
 
virtual bool ready ()
 
virtual void execute ()=0
 
void run ()
 
- Public Member Functions inherited from LibThread::SharedObject
 SharedObject ()
 
virtual ~SharedObject ()
 
void set_type (int type_init)
 
int get_type ()
 
void set_name (std::string &name_init)
 
void set_name (const char *s)
 
std::stringget_name ()
 
void incref (int by=1)
 
long decref ()
 
long getref ()
 
virtual BOOLEAN op2 (int op, leftv res, leftv a1, leftv a2)
 
virtual BOOLEAN op3 (int op, leftv res, leftv a1, leftv a2, leftv a3)
 

Additional Inherited Members

- Data Fields inherited from LibThread::Job
ThreadPoolpool
 
long prio
 
size_t id
 
long pending_index
 
vector< Job * > deps
 
vector< Job * > notify
 
vector< Trigger * > triggers
 
vector< stringargs
 
string result
 
void * data
 
bool fast
 
bool done
 
bool queued
 
bool running
 
bool cancelled
 

Detailed Description

Definition at line 1598 of file shared.cc.

Constructor & Destructor Documentation

◆ Trigger()

LibThread::Trigger::Trigger ( )
inline

Definition at line 1602 of file shared.cc.

1602: Job() { set_type(type_trigger); fast = true; }
void set_type(int type_init)
Definition: shared.cc:163
int type_trigger
Definition: shared.cc:244

Member Function Documentation

◆ accept()

virtual bool LibThread::Trigger::accept ( leftv  arg)
pure virtual

◆ activate()

virtual void LibThread::Trigger::activate ( leftv  arg)
pure virtual

The documentation for this class was generated from the following file: