$search

Software router of messages on TCP and D-Bus.

Classes

class  Aseba::AsebaNetworkInterface
 DBus interface for aseba network. More...
class  Aseba::EventFilterInterface
 DBus interface for an event filter. More...
class  Aseba::Hub

Functions

 Aseba::AsebaNetworkInterface::AsebaNetworkInterface (Hub *hub, bool systemBus)
virtual void Dashel::Hub::connectionClosed (Stream *, bool)
virtual void Dashel::Hub::connectionCreated (Stream *)
QDBusConnection Aseba::AsebaNetworkInterface::DBusConnectionBus () const
void Aseba::EventFilterInterface::emitEvent (const quint16 id, const QString &name, const Values &data)
Values Aseba::fromAsebaVector (const std::vector< sint16 > &values)
virtual void Dashel::Hub::incomingData (Stream *)
virtual void Aseba::AsebaNetworkInterface::nodeDescriptionReceived (unsigned nodeId)
 Virtual function that is called when a node description has been fully received.
void Dashel::Hub::run ()
std::vector< sint16Aseba::toAsebaVector (const Values &values)

Public Slots

QDBusObjectPath Aseba::AsebaNetworkInterface::CreateEventFilter ()
Q_SCRIPTABLE Q_NOREPLY void Aseba::EventFilterInterface::Free ()
qint16 Aseba::AsebaNetworkInterface::GetNodeId (const QString &node, const QDBusMessage &message) const
QStringList Aseba::AsebaNetworkInterface::GetNodesList () const
Values Aseba::AsebaNetworkInterface::GetVariable (const QString &node, const QString &variable, const QDBusMessage &message)
QStringList Aseba::AsebaNetworkInterface::GetVariablesList (const QString &node) const
Q_SCRIPTABLE Q_NOREPLY void Aseba::EventFilterInterface::IgnoreEvent (const quint16 event)
Q_SCRIPTABLE Q_NOREPLY void Aseba::EventFilterInterface::IgnoreEventName (const QString &name, const QDBusMessage &message)
Q_SCRIPTABLE Q_NOREPLY void Aseba::EventFilterInterface::ListenEvent (const quint16 event)
Q_SCRIPTABLE Q_NOREPLY void Aseba::EventFilterInterface::ListenEventName (const QString &name, const QDBusMessage &message)
Q_NOREPLY void Aseba::AsebaNetworkInterface::LoadScripts (const QString &fileName, const QDBusMessage &message)
Q_NOREPLY void Aseba::AsebaNetworkInterface::SendEvent (const quint16 event, const Values &data)
Q_NOREPLY void Aseba::AsebaNetworkInterface::SendEventName (const QString &name, const Values &data, const QDBusMessage &message)
Q_NOREPLY void Aseba::AsebaNetworkInterface::SetVariable (const QString &node, const QString &variable, const Values &data, const QDBusMessage &message) const

Private Slots

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

Detailed Description


Function Documentation

Aseba::AsebaNetworkInterface::AsebaNetworkInterface ( Hub hub,
bool  systemBus 
) [inherited]

Definition at line 94 of file medulla.cpp.

QDBusConnection Aseba::AsebaNetworkInterface::DBusConnectionBus (  )  const [inline, protected, inherited]

Definition at line 473 of file medulla.cpp.

void Aseba::EventFilterInterface::emitEvent ( const quint16  id,
const QString &  name,
const Values data 
) [inherited]

Definition at line 55 of file medulla.cpp.

Values Aseba::fromAsebaVector ( const std::vector< sint16 > &  values  ) 

Definition at line 47 of file medulla.cpp.

void Aseba::AsebaNetworkInterface::nodeDescriptionReceived ( unsigned  nodeId  )  [protected, virtual, inherited]

Virtual function that is called when a node description has been fully received.

Reimplemented from Aseba::DescriptionsManager.

Definition at line 468 of file medulla.cpp.

std::vector<sint16> Aseba::toAsebaVector ( const Values values  ) 

Definition at line 38 of file medulla.cpp.


Public Slots

QDBusObjectPath Aseba::AsebaNetworkInterface::CreateEventFilter (  )  [slot, inherited]

Definition at line 461 of file medulla.cpp.

void Aseba::EventFilterInterface::Free (  )  [slot, inherited]

Definition at line 88 of file medulla.cpp.

qint16 Aseba::AsebaNetworkInterface::GetNodeId ( const QString &  node,
const QDBusMessage &  message 
) const [slot, inherited]

Definition at line 299 of file medulla.cpp.

QStringList Aseba::AsebaNetworkInterface::GetNodesList (  )  const [slot, inherited]

Definition at line 289 of file medulla.cpp.

Values Aseba::AsebaNetworkInterface::GetVariable ( const QString &  node,
const QString &  variable,
const QDBusMessage &  message 
) [slot, inherited]

Definition at line 385 of file medulla.cpp.

QStringList Aseba::AsebaNetworkInterface::GetVariablesList ( const QString &  node  )  const [slot, inherited]

Definition at line 310 of file medulla.cpp.

void Aseba::EventFilterInterface::IgnoreEvent ( const quint16  event  )  [slot, inherited]

Definition at line 74 of file medulla.cpp.

void Aseba::EventFilterInterface::IgnoreEventName ( const QString &  name,
const QDBusMessage &  message 
) [slot, inherited]

Definition at line 79 of file medulla.cpp.

void Aseba::EventFilterInterface::ListenEvent ( const quint16  event  )  [slot, inherited]

Definition at line 60 of file medulla.cpp.

void Aseba::EventFilterInterface::ListenEventName ( const QString &  name,
const QDBusMessage &  message 
) [slot, inherited]

Definition at line 65 of file medulla.cpp.

void Aseba::AsebaNetworkInterface::LoadScripts ( const QString &  fileName,
const QDBusMessage &  message 
) [slot, inherited]

Definition at line 176 of file medulla.cpp.

void Aseba::AsebaNetworkInterface::SendEvent ( const quint16  event,
const Values data 
) [slot, inherited]

Definition at line 442 of file medulla.cpp.

void Aseba::AsebaNetworkInterface::SendEventName ( const QString &  name,
const Values data,
const QDBusMessage &  message 
) [slot, inherited]

Definition at line 452 of file medulla.cpp.

void Aseba::AsebaNetworkInterface::SetVariable ( const QString &  node,
const QString &  variable,
const Values data,
const QDBusMessage &  message 
) const [slot, inherited]

Definition at line 344 of file medulla.cpp.


Private Slots

void Aseba::AsebaNetworkInterface::filterDestroyed ( EventFilterInterface filter  )  [private, slot, inherited]

Definition at line 169 of file medulla.cpp.

void Aseba::AsebaNetworkInterface::ignoreEvent ( EventFilterInterface filter,
quint16  event 
) [private, slot, inherited]

Definition at line 164 of file medulla.cpp.

void Aseba::AsebaNetworkInterface::listenEvent ( EventFilterInterface filter,
quint16  event 
) [private, slot, inherited]

Definition at line 159 of file medulla.cpp.

void Aseba::AsebaNetworkInterface::processMessage ( Message message,
Dashel::Stream sourceStream 
) [private, slot, inherited]

Definition at line 107 of file medulla.cpp.

void Aseba::AsebaNetworkInterface::sendEventOnDBus ( const quint16  event,
const Values data 
) [private, slot, inherited]

Definition at line 147 of file medulla.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


aseba
Author(s): Stéphane Magnenat
autogenerated on Sat Mar 2 12:31:49 2013