BVB Source Codes

CRYENGINE Show CommunicationChannelManager.h Source code

Return Download CRYENGINE: download CommunicationChannelManager.h Source code - Download CRYENGINE Source code - Type:.h
  1. // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
  2.  
  3. #ifndef __CommunicationChannelManager_h__
  4. #define __CommunicationChannelManager_h__
  5.  
  6. #pragma once
  7.  
  8. #include "Communication.h"
  9. #include "CommunicationChannel.h"
  10.  
  11. class CommunicationChannelManager
  12. {
  13. public:
  14.         bool                               LoadChannel(const XmlNodeRef& channelNode, const CommChannelID& parentID);
  15.  
  16.         void                               Clear();
  17.         void                               Reset();
  18.         void                               Update(float updateTime);
  19.  
  20.         CommChannelID                      GetChannelID(const char* name) const;
  21.         const SCommunicationChannelParams& GetChannelParams(const CommChannelID& channelID) const;
  22.         CommunicationChannel::Ptr          GetChannel(const CommChannelID& channelID, EntityId sourceId) const;
  23.         CommunicationChannel::Ptr          GetChannel(const CommChannelID& channelID, EntityId sourceId);
  24.  
  25. private:
  26.         typedef std::map<CommChannelID, SCommunicationChannelParams> ChannelParams;
  27.         ChannelParams m_params;
  28.  
  29.         typedef std::map<CommChannelID, CommunicationChannel::Ptr> Channels;
  30.         Channels m_globalChannels;
  31.  
  32.         typedef std::map<int, Channels> GroupChannels;
  33.         GroupChannels m_groupChannels;
  34.  
  35.         typedef std::map<EntityId, Channels> PersonalChannels;
  36.         PersonalChannels m_personalChannels;
  37. };
  38.  
  39. #endif //__CommunicationChannelManager_h__
  40.  
downloadCommunicationChannelManager.h Source code - Download CRYENGINE Source code
Related Source Codes/Software:
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top