LosaDev source snapshot 2019
This commit is contained in:
commit
c198676e97
20588 files changed
+8812878
No files matched your search
@@ -0,0 +1,29 @@
|
||||
#pragma once
|
||||
|
||||
class cCommandQueue;
|
||||
class cConnectorQueue;
|
||||
|
||||
class cCommunicator
|
||||
{
|
||||
public:
|
||||
cCommunicator(const uint32 maxCount);
|
||||
virtual ~cCommunicator();
|
||||
|
||||
void Init(const uint32 maxCount);
|
||||
void Destroy();
|
||||
|
||||
protected:
|
||||
BOOL CreateCommandQueue(const uint32 maxCount, const uint32 timeout=INFINITE);
|
||||
BOOL CreateConnectorQueue();
|
||||
|
||||
void DestroyCommandQueue();
|
||||
void DestroyConnectorQueue();
|
||||
|
||||
public:
|
||||
cCommandQueue* GetCommandQueue() { return m_commandQueue; }
|
||||
cConnectorQueue* GetConnectorQueue() { return m_connectorQueue; }
|
||||
|
||||
private:
|
||||
cCommandQueue* m_commandQueue;
|
||||
cConnectorQueue* m_connectorQueue;
|
||||
};
|
||||
Reference in new issue
Block a user