Stellarium  0.16.1
List of all members | Protected Slots
StelPropertyEventSender Class Reference
+ Inheritance diagram for StelPropertyEventSender:
+ Collaboration diagram for StelPropertyEventSender:

Protected Slots

virtual void newClientConnected (SyncRemotePeer &client) Q_DECL_OVERRIDE
 Sends all current StelProperties to the client. More...
 
void sendStelPropChange (StelProperty *prop, const QVariant &val)
 
- Protected Slots inherited from SyncServerEventSender
virtual void reactToStellariumEvent ()
 This may be used to react to Stellarium application events and queue a broadcast or store the changed state. More...
 
virtual void newClientConnected (SyncRemotePeer &client)
 This is automatically called by the SyncServer whenever a new client connects. More...
 

Additional Inherited Members

- Protected Member Functions inherited from SyncServerEventSender
virtual void update ()
 This is guaranteed to be called once per frame (usually after all other StelModules have been updated). More...
 
void broadcastMessage (const SyncProtocol::SyncMessage &msg)
 Subclasses can call this to broadcast a message to all valid connected clients. More...
 
- Protected Attributes inherited from SyncServerEventSender
bool isDirty
 Free to use by sublasses. Recommendation: use to track if update() should broadcast a message. More...
 
StelCorecore
 Direct access to StelCore. More...
 

Detailed Description

Definition at line 133 of file SyncServerEventSenders.hpp.

Member Function Documentation

virtual void StelPropertyEventSender::newClientConnected ( SyncRemotePeer client)
protectedvirtualslot

Sends all current StelProperties to the client.


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