Dependents:   WeatherStation

Embed: (wiki syntax)

« Back to documentation index

ILinterpreter Class Reference

ILinterpreter Class Reference

ILinterpreter class. More...

#include <ILinterpreter.h>

Public Member Functions

int exec ()
 exec IL sequence
struct tInOut * attach (float(*pf_i)(char, int, eEXPRESSION, int), void(*pf_o)(char, int, int, eMNEMONIC))
 set call back function
void pool ()
 timer interval (call 10Hz)
int load (char *file)
 load IL file

Detailed Description

ILinterpreter class.

Definition at line 63 of file ILinterpreter.h.


Member Function Documentation

struct tInOut * attach ( float(*)(char, int, eEXPRESSION, int)  pf_i,
void(*)(char, int, int, eMNEMONIC)  pf_o 
) [read]

set call back function

Parameters:
pf_iinput function (input relay)
pf_ooutput function (output relay)
Returns:
pointer of tInOut (internal relay)

Definition at line 309 of file ILinterpreter.cpp.

int exec (  )

exec IL sequence

Return values:
0success
-1error

Definition at line 213 of file ILinterpreter.cpp.

int load ( char *  file )

load IL file

Parameters:
filefile name
Return values:
0success
-1error

Definition at line 355 of file ILinterpreter.cpp.

void pool (  )

timer interval (call 10Hz)

Definition at line 316 of file ILinterpreter.cpp.