Events representing change of device state or error conditions. More...
#include <string>#include "Time.h"#include "TSQueue.h"
Go to the source code of this file.
Classes | |
| class | FCam::EventGenerator |
| A base class for things that generate events. More... | |
| class | FCam::Event |
| An Event marks a change in device state or an error condition. More... | |
Namespaces | |
| namespace | FCam |
Main namespace for the API. | |
Functions | |
| bool | FCam::getNextEvent (Event *) |
| Copies the next pending event into the pointer given. | |
| bool | FCam::getNextEvent (Event *, int type) |
| Get the next event of a given type. | |
| bool | FCam::getNextEvent (Event *, int type, int data) |
| Get the next event of a given type and with a specific data field. | |
| bool | FCam::getNextEvent (Event *, int type, EventGenerator *creator) |
| Get the next event of a given type, created by the specified EventGenerator. | |
| bool | FCam::getNextEvent (Event *, int type, int data, EventGenerator *creator) |
| Get the next event of a given type, with a specific data field, and created by the specified EventGenerator. | |
| bool | FCam::getNextEvent (Event *, EventGenerator *creator) |
| Get the next event created by the specified EventGenerator. | |
| void | FCam::postEvent (Event) |
| Add an event to the event queue. | |
| void | FCam::postEvent (int type, int code, const std::string &msg, EventGenerator *creator=NULL) |
| A simplified event posting interface that includes a type, integer code, message, and optional creator. | |
| void | FCam::error (int code, EventGenerator *creator, const char *fmt,...) |
| Post an error event, using printf-style arguments. | |
| void | FCam::warning (int code, EventGenerator *creator, const char *fmt,...) |
| Post a warning event, using printf-style arguments. | |
| void | FCam::error (int code, const char *fmt,...) |
| Post an error event with no creator, using printf-style arguments. | |
| void | FCam::warning (int code, const char *fmt,...) |
| Post a warning event with no creator, using printf-style arguments. | |
Variables | |
| TSQueue< Event > | FCam::_eventQueue |
| The global event queue. | |
Events representing change of device state or error conditions.
Definition in file Event.h.
1.7.1