#include <bitecellscript.h>
 | 
|   | Events () | 
|   | 
| void  | clear () | 
|   | clear the list of events  More...
  | 
|   | 
| void  | setup (QJSValue &js_value, QStringList event_names, BiteAgent *agent) | 
|   | setup events from the javascript object  More...
  | 
|   | 
| QString  | run (const QString event, BiteCell *cell=nullptr, QJSValueList *params=nullptr) | 
|   | execute javascript event /if registered) in the context of the forest stand 'stand'.  More...
  | 
|   | 
| bool  | hasEvent (const QString &event) const | 
|   | returns true, if the event 'event' is available.  More...
  | 
|   | 
| QJSValue  | eventFunction (const QString &event) | 
|   | 
| QString  | dump () | 
|   | prints some debug info  More...
  | 
|   | 
◆ Events()
◆ clear()
      
        
          | void BITE::Events::clear  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ dump()
      
        
          | QString BITE::Events::dump  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ eventFunction()
  
  
      
        
          | QJSValue BITE::Events::eventFunction  | 
          ( | 
          const QString &  | 
          event | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ hasEvent()
      
        
          | bool BITE::Events::hasEvent  | 
          ( | 
          const QString &  | 
          event | ) | 
           const | 
        
      
 
returns true, if the event 'event' is available. 
 
 
◆ run()
      
        
          | QString BITE::Events::run  | 
          ( | 
          const QString  | 
          event,  | 
        
        
           | 
           | 
          BiteCell *  | 
          cell = nullptr,  | 
        
        
           | 
           | 
          QJSValueList *  | 
          params = nullptr  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
execute javascript event /if registered) in the context of the forest stand 'stand'. 
 
 
◆ setup()
      
        
          | void BITE::Events::setup  | 
          ( | 
          QJSValue &  | 
          js_value,  | 
        
        
           | 
           | 
          QStringList  | 
          event_names,  | 
        
        
           | 
           | 
          BiteAgent *  | 
          agent  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
setup events from the javascript object 
 
 
The documentation for this class was generated from the following files: