Stellarium  0.16.1
List of all members | Public Types | Public Slots | Signals | Public Member Functions | Protected Member Functions | Friends
SyncClient Class Reference

A client which can connect to a SyncServer to receive state changes, and apply them. More...

#include <SyncClient.hpp>

+ Inheritance diagram for SyncClient:
+ Collaboration diagram for SyncClient:

Public Types

enum  SyncOption {
  NONE = 0x0000, SyncTime = 0x0001, SyncLocation = 0x0002, SyncSelection = 0x0004,
  SyncStelProperty = 0x0008, SyncView = 0x0010, SyncFov = 0x0020, SkipGUIProps = 0x0040,
  ALL = 0xFFFF
}
 Bitflag-enum which determines the message types the client instance reacts to, and other boolean options. More...
 

Public Slots

void connectToServer (const QString &host, const int port)
 
void disconnectFromServer ()
 

Signals

void connected ()
 
void disconnected (bool cleanExit)
 

Public Member Functions

 SyncClient (SyncOptions options, const QStringList &excludeProperties, QObject *parent=Q_NULLPTR)
 
QString errorString () const
 

Protected Member Functions

void timerEvent (QTimerEvent *evt) Q_DECL_OVERRIDE
 

Friends

class ClientErrorHandler
 

Detailed Description

A client which can connect to a SyncServer to receive state changes, and apply them.

Definition at line 33 of file SyncClient.hpp.

Member Enumeration Documentation

Bitflag-enum which determines the message types the client instance reacts to, and other boolean options.

Definition at line 40 of file SyncClient.hpp.


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