Aseba::AsebaNetworkInterface Class Reference
[Software router of messages on TCP and D-Bus.]

DBus interface for aseba network. More...

#include <medulla.h>

Inheritance diagram for Aseba::AsebaNetworkInterface:
Inheritance graph
[legend]

List of all members.

Classes

struct  RequestData

Public Slots

QDBusObjectPath CreateEventFilter ()
qint16 GetNodeId (const QString &node, const QDBusMessage &message) const
QStringList GetNodesList () const
Values GetVariable (const QString &node, const QString &variable, const QDBusMessage &message)
QStringList GetVariablesList (const QString &node) const
Q_NOREPLY void LoadScripts (const QString &fileName, const QDBusMessage &message)
Q_NOREPLY void SendEvent (const quint16 event, const Values &data)
Q_NOREPLY void SendEventName (const QString &name, const Values &data, const QDBusMessage &message)
Q_NOREPLY void SetVariable (const QString &node, const QString &variable, const Values &data, const QDBusMessage &message) const

Public Member Functions

 AsebaNetworkInterface (Hub *hub, bool systemBus)

Protected Types

typedef QMultiMap< quint16,
EventFilterInterface * > 
EventsFiltersMap
typedef QMap< QString, unsigned > NodesNamesMap
typedef QList< RequestData * > RequestsList
typedef QMap< QString,
Compiler::VariablesMap
UserDefinedVariablesMap

Protected Member Functions

QDBusConnection DBusConnectionBus () const
virtual void nodeDescriptionReceived (unsigned nodeId)
 Virtual function that is called when a node description has been fully received.

Protected Attributes

CommonDefinitions commonDefinitions
EventsFiltersMap eventsFilters
unsigned eventsFiltersCounter
Hubhub
NodesNamesMap nodesNames
RequestsList pendingReads
bool systemBus
UserDefinedVariablesMap userDefinedVariablesMap

Private Slots

void filterDestroyed (EventFilterInterface *filter)
void ignoreEvent (EventFilterInterface *filter, quint16 event)
void listenEvent (EventFilterInterface *filter, quint16 event)
void processMessage (Message *message, Dashel::Stream *sourceStream)
void sendEventOnDBus (const quint16 event, const Values &data)

Friends

class EventFilterInterface
class Hub

Detailed Description

DBus interface for aseba network.

Definition at line 82 of file medulla.h.


Member Typedef Documentation

typedef QMultiMap<quint16, EventFilterInterface*> Aseba::AsebaNetworkInterface::EventsFiltersMap [protected]

Definition at line 131 of file medulla.h.

typedef QMap<QString, unsigned> Aseba::AsebaNetworkInterface::NodesNamesMap [protected]

Definition at line 125 of file medulla.h.

Definition at line 129 of file medulla.h.

Definition at line 127 of file medulla.h.


Friends And Related Function Documentation

friend class EventFilterInterface [friend]

Definition at line 101 of file medulla.h.

friend class Hub [friend]

Definition at line 99 of file medulla.h.


Member Data Documentation

Definition at line 124 of file medulla.h.

Definition at line 132 of file medulla.h.

Definition at line 134 of file medulla.h.

Definition at line 123 of file medulla.h.

Definition at line 126 of file medulla.h.

Definition at line 130 of file medulla.h.

Definition at line 133 of file medulla.h.

Definition at line 128 of file medulla.h.


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


asebaros
Author(s): $author
autogenerated on Mon Sep 5 08:42:12 2011