PiImageStreamer
Loading...
Searching...
No Matches
NetworkQueueManagerProxy.h
Go to the documentation of this file.
1
31#ifndef QUEUING_NETWORKQUEUEMANAGERPROXY_H_
32#define QUEUING_NETWORKQUEUEMANAGERPROXY_H_
33
34#include <map>
35#include "CommandQueue.h"
36
37namespace SWE4211RPi {
38
45
46public:
52
58
65 bool sendMessage(int destination, CommandQueueEntry value);
66
67protected:
72
73private:
78
87 std::map<int, int> networkIDtoInternalIDMap;
88};
89
90} /* namespace SWE4211RPi */
91
92#endif /* QUEUING_NETWORKQUEUEMANAGERPROXY_H_ */
Singleton that translates network destination IDs (NetworkCfg.h) into internal queue IDs (QueueCfg....
Definition NetworkQueueManagerProxy.h:44
static NetworkQueueManagerProxy & getSingleton()
Definition NetworkQueueManagerProxy.cpp:53
static NetworkQueueManagerProxy * singleton
Definition NetworkQueueManagerProxy.h:71
NetworkQueueManagerProxy()
Definition NetworkQueueManagerProxy.cpp:68
bool sendMessage(int destination, CommandQueueEntry value)
Definition NetworkQueueManagerProxy.cpp:109
virtual ~NetworkQueueManagerProxy()
Definition NetworkQueueManagerProxy.cpp:97
void sendBroadcastMessage(CommandQueueEntry value)
Definition NetworkQueueManagerProxy.cpp:125
std::map< int, int > networkIDtoInternalIDMap
Definition NetworkQueueManagerProxy.h:87
Definition CommandQueue.h:45