Viadeo Twitter Google Bookmarks ! Facebook Digg del.icio.us MySpace Yahoo MyWeb Blinklist Netvouz Reddit Simpy StumbleUpon Bookmarks Windows Live Favorites 
Logo Documentation Qt ·  Page d'accueil  ·  Toutes les classes  ·  Toutes les fonctions  ·  Vues d'ensemble  · 

QSerialIODeviceMultiplexerPlugin Class Reference
[QtBaseModule]

The QSerialIODeviceMultiplexerPlugin class defines a base class for implementing multiplexing plugins. More...

    #include <QSerialIODeviceMultiplexerPlugin>

Inherits QObject and QSerialIODeviceMultiplexerPluginInterface.

Public Functions

Additional Inherited Members

  • 1 property inherited from QObject
  • 1 public slot inherited from QObject
  • 1 signal inherited from QObject
  • 1 public type inherited from QObject
  • 4 static public members inherited from QObject
  • 7 protected functions inherited from QObject
  • 2 protected variables inherited from QObject

Detailed Description

The QSerialIODeviceMultiplexerPlugin class defines a base class for implementing multiplexing plugins.

Multiplexer plug-ins should override at least detect() and create().

See the Tutorial: Writing a Multiplexer Plug-in for more information on how to write a multiplexer plug-in.

See also QSerialIODeviceMultiplexerPluginInterface and QSerialIODeviceMultiplexer.


Member Function Documentation

QSerialIODeviceMultiplexerPlugin::QSerialIODeviceMultiplexerPlugin ( QObject * parent = 0 )

Create a multiplexer plug-in instance and attach it to parent.

QSerialIODeviceMultiplexerPlugin::~QSerialIODeviceMultiplexerPlugin ()

Destruct a multiplexer plug-in instance.

QSerialIODeviceMultiplexer * QSerialIODeviceMultiplexerPlugin::create ( QSerialIODevice * device )   [virtual]

Create a multiplexer handler around device. This will be called only if detect() returns true.

Reimplemented from QSerialIODeviceMultiplexerPluginInterface.

See also forceGsm0710Stop() and detect().

bool QSerialIODeviceMultiplexerPlugin::detect ( QSerialIODevice * device )   [virtual]

Issue commands to detect if this plug-in can provide multiplexing for device. Returns true if multiplexing is possible, or false if not. The plug-in can use QSerialIODeviceMultiplexer::chat() to simplify the issuing of commands.

Reimplemented from QSerialIODeviceMultiplexerPluginInterface.

See also create() and QSerialIODeviceMultiplexer::chat().

bool QSerialIODeviceMultiplexerPlugin::forceGsm0710Stop ()   [virtual]

Returns true if the caller should force an existing GSM 07.10 session to stop before calling detect(). The default implementation returns false. This is typcially needed for plugins that issue the AT+CMUX command in their detect() function.

Reimplemented from QSerialIODeviceMultiplexerPluginInterface.

See also detect() and create().

QStringList QSerialIODeviceMultiplexerPlugin::keys () const

Returns the list of keys for this plugin.

Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. Qt qtextended4.4
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD.
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP !
 
 
 
 
Partenaires

Hébergement Web