NOVA User-Level Environment  Version testbox/changed-memory-timing-317-g320d8b5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Script Struct Reference

Simple scripting support. More...

Inheritance diagram for Script:
StaticReceiver< Script > Device

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)
- Public Member Functions inherited from StaticReceiver< Script >
 StaticReceiver ()
- Public Member Functions inherited from Device
void debug_dump ()
 Device (const char *debug_name)

Static Public Member Functions

static void do_work (void *t) REGPARM(0) NORETURN
- Static Public Member Functions inherited from StaticReceiver< Script >
static bool receive_static (Device *o, M &msg)

Public Attributes

TimerProtocol_service_timer
DBus< MessageConsole > & _bus_console
DBus< MessageHostOp > & _bus_hostop
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)
inlinestatic
bool Script::receive ( MessageLegacy msg)
inline
void Script::work ( )
inline

Do the actual work.

Member Data Documentation

DBus<MessageConsole>& Script::_bus_console
DBus<MessageHostOp>& Script::_bus_hostop
Clock* Script::_clock
ScriptItem* Script::_head
TimerProtocol* Script::_service_timer
KernelSemaphore Script::_worker

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