Classes | Public Slots | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Private Slots | Friends
Aseba::AsebaNetworkInterface Class Reference

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 79 of file medulla.h.


Member Typedef Documentation

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

Definition at line 128 of file medulla.h.

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

Definition at line 122 of file medulla.h.

Definition at line 126 of file medulla.h.

Definition at line 124 of file medulla.h.


Friends And Related Function Documentation

friend class EventFilterInterface [friend]

Definition at line 98 of file medulla.h.

friend class Hub [friend]

Definition at line 96 of file medulla.h.


Member Data Documentation

Definition at line 121 of file medulla.h.

Definition at line 129 of file medulla.h.

Definition at line 131 of file medulla.h.

Definition at line 120 of file medulla.h.

Definition at line 123 of file medulla.h.

Definition at line 127 of file medulla.h.

Definition at line 130 of file medulla.h.

Definition at line 125 of file medulla.h.


The documentation for this class was generated from the following files:


aseba
Author(s): Stéphane Magnenat
autogenerated on Thu Jan 2 2014 11:17:17