OpenCOVER
coSyncActionManager.h
Go to the documentation of this file.
1/* This file is part of COVISE.
2
3 You can use it under the terms of the GNU Lesser General Public License
4 version 2.1 or later, see lgpl-2.1.txt.
5
6 * License: LGPL 2+ */
7
8#ifndef CO_SYNCACTIONMANAGER_H
9#define CO_SYNCACTIONMANAGER_H
10
12
13namespace opencover
14{
17class COVEREXPORT coSyncActionManager
18{
19protected:
20 covise::DLinkList<coSynchronizedAction *> remoteActions;
21 covise::DLinkList<coSynchronizedAction *> localActions;
24
25public:
28 void handleRemoteActions(int len, const char *message);
29 coSynchronizedAction *findLocalAction(int host, int type, int sequenceNumber);
30 coSynchronizedAction *findRemoteAction(int host, int type, int sequenceNumber);
31 void initiateAction(coSynchronizedAction *newAction, int type, bool blocking = false);
32};
33}
34#endif
Definition: ARToolKit.h:33
Definition: coSyncActionManager.h:18
static coSyncActionManager * instance
Definition: coSyncActionManager.h:23
void handleRemoteActions(int len, const char *message)
coSynchronizedAction * findRemoteAction(int host, int type, int sequenceNumber)
void initiateAction(coSynchronizedAction *newAction, int type, bool blocking=false)
coSynchronizedAction * findLocalAction(int host, int type, int sequenceNumber)
covise::DLinkList< coSynchronizedAction * > remoteActions
Definition: coSyncActionManager.h:20
covise::DLinkList< coSynchronizedAction * > localActions
Definition: coSyncActionManager.h:21
static coSyncActionManager * instance()
Definition: coSynchronizedAction.h:17