Public Member Functions | Static Public Member Functions | Public Attributes

Script Struct Reference

Simple scripting support. More...

Inheritance diagram for Script:
StaticReceiver< Script > Device

List of all members.

Public Member Functions

void work () __attribute__((noreturn))
 Do the actual work.
void add (ScriptItem *item)
bool receive (MessageLegacy &msg)
 Script (DBus< MessageConsole > &bus_console, Clock *clock, Motherboard *mb)

Static Public Member Functions

static void do_work (void *t) REGPARM(0) NORETURN

Public Attributes

TimerProtocol_service_timer
DBus< MessageConsole > & _bus_console
Clock_clock
KernelSemaphore _worker
ScriptItem_head

Detailed Description

Simple scripting support.


Constructor & Destructor Documentation

Script::Script ( DBus< MessageConsole > &  bus_console,
Clock clock,
Motherboard mb 
) [inline]

Member Function Documentation

void Script::add ( ScriptItem item  )  [inline]
static void Script::do_work ( void *  t  )  [inline, static]
bool Script::receive ( MessageLegacy msg  )  [inline]
void Script::work (  )  [inline]

Do the actual work.


Member Data Documentation


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines