43 lines · 1.1 KB · C
RawDownload
////  AssignmentClient.h//  assignment-client/src////  Created by Stephen Birarda on 11/25/2013.//  Copyright 2013 High Fidelity, Inc.////  Distributed under the Apache License, Version 2.0.//  See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html// #ifndef hifi_AssignmentClient_h#define hifi_AssignmentClient_h #include <QtCore/QCoreApplication> #include "ShutdownEventListener.h"#include "ThreadedAssignment.h" class QSharedMemory; class AssignmentClient : public QCoreApplication {    Q_OBJECTpublic:    AssignmentClient(int &argc, char **argv);    static const SharedAssignmentPointer& getCurrentAssignment() { return _currentAssignment; } private slots:    void sendAssignmentRequest();    void readPendingDatagrams();    void assignmentCompleted();    void handleAuthenticationRequest(); private:    Assignment _requestAssignment;    static SharedAssignmentPointer _currentAssignment;    ShutdownEventListener _shutdownEventListener;    QString _assignmentServerHostname;    HifiSockAddr _assignmentServerSocket;    QSharedMemory* _localASPortSharedMem;}; #endif // hifi_AssignmentClient_h

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t