iLand
Public Member Functions | List of all members
ABE::Events Class Reference

#include <activity.h>

Public Member Functions

 Events ()
 
void clear ()
 clear the list of events More...
 
void setup (QJSValue &js_value, QStringList event_names)
 setup events from the javascript object More...
 
QJSValue run (const QString event, FMStand *stand, QJSValueList *params=0)
 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...
 
QString dump ()
 prints some debug info More...
 

Constructor & Destructor Documentation

◆ Events()

ABE::Events::Events ( )
inline

Member Function Documentation

◆ clear()

void ABE::Events::clear ( )

clear the list of events

◆ dump()

QString ABE::Events::dump ( )

prints some debug info

◆ hasEvent()

bool ABE::Events::hasEvent ( const QString &  event) const

returns true, if the event 'event' is available.

◆ run()

QJSValue ABE::Events::run ( const QString  event,
FMStand stand,
QJSValueList *  params = 0 
)

execute javascript event /if registered) in the context of the forest stand 'stand'.

◆ setup()

void ABE::Events::setup ( QJSValue &  js_value,
QStringList  event_names 
)

setup events from the javascript object


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