EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
APIActiveObjectManager.h
Go to the documentation of this file.
1 /*
2  ------------------------------------------------------------------------------------
3  LICENSE:
4  ------------------------------------------------------------------------------------
5  This file is part of EVEmu: EVE Online Server Emulator
6  Copyright 2006 - 2021 The EVEmu Team
7  For the latest information visit https://evemu.dev
8  ------------------------------------------------------------------------------------
9  This program is free software; you can redistribute it and/or modify it under
10  the terms of the GNU Lesser General Public License as published by the Free Software
11  Foundation; either version 2 of the License, or (at your option) any later
12  version.
13 
14  This program is distributed in the hope that it will be useful, but WITHOUT
15  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
16  FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
17 
18  You should have received a copy of the GNU Lesser General Public License along with
19  this program; if not, write to the Free Software Foundation, Inc., 59 Temple
20  Place - Suite 330, Boston, MA 02111-1307, USA, or go to
21  http://www.gnu.org/copyleft/lesser.txt.
22  ------------------------------------------------------------------------------------
23  Author: Aknor Jaden
24 */
25 
26 #ifndef __APIACTIVEOBJECTMANAGER__H__INCL__
27 #define __APIACTIVEOBJECTMANAGER__H__INCL__
28 
30 
44 : public APIServiceManager
45 {
46 public:
48 
49  // Common call shared to all derived classes called via polymorphism
50  std::tr1::shared_ptr<std::string> ProcessCall(const APICommandCall * pAPICommandCall);
51 
52 protected:
53  // Character List, Summary, Complete information calls:
54  std::tr1::shared_ptr<std::string> _CharacterList(const APICommandCall * pAPICommandCall);
55  std::tr1::shared_ptr<std::string> _CharacterSummary(const APICommandCall * pAPICommandCall);
56  std::tr1::shared_ptr<std::string> _Character(const APICommandCall * pAPICommandCall);
57 
58  // Solar System List, Solar System Bubble List, Bubble Ship/Entity List, etc space related lists:
59  std::tr1::shared_ptr<std::string> _SystemList(const APICommandCall * pAPICommandCall);
60  std::tr1::shared_ptr<std::string> _SystemSummary(const APICommandCall * pAPICommandCall);
61  std::tr1::shared_ptr<std::string> _SystemBubbleList(const APICommandCall * pAPICommandCall);
62  std::tr1::shared_ptr<std::string> _BubbleEntityList(const APICommandCall * pAPICommandCall);
63 
64  // Ship Info, Ship Fitting List, Fitted Module Info, Charge Info, etc
65  std::tr1::shared_ptr<std::string> _ShipInfo(const APICommandCall * pAPICommandCall);
66  std::tr1::shared_ptr<std::string> _ShipFittingList(const APICommandCall * pAPICommandCall);
67  std::tr1::shared_ptr<std::string> _FittedModuleInfo(const APICommandCall * pAPICommandCall);
68  std::tr1::shared_ptr<std::string> _FittedModuleChargeInfo(const APICommandCall * pAPICommandCall);
69 
70  // Combat Tactical Data: Targets of Selected Character/Ship, List of Entities targeting Selected Character/Ship,
71  // Ship tactical information, etc
72  std::tr1::shared_ptr<std::string> _ShipTargetList(const APICommandCall * pAPICommandCall);
73  std::tr1::shared_ptr<std::string> _EntitiesTargetingShipList(const APICommandCall * pAPICommandCall);
74  std::tr1::shared_ptr<std::string> _ShipTacticalInfo(const APICommandCall * pAPICommandCall);
75 
76  // Utility Functions:
77  // none
78 
79  //APIxxxxxDB m_xxxxxDB;
80 
81 };
82 
83 #endif // __APIACCOUNTMANAGER__H__INCL__
APIActiveObjectManager(const PyServiceMgr &services)
std::tr1::shared_ptr< std::string > _SystemSummary(const APICommandCall *pAPICommandCall)
std::tr1::shared_ptr< std::string > _ShipInfo(const APICommandCall *pAPICommandCall)
std::tr1::shared_ptr< std::string > _Character(const APICommandCall *pAPICommandCall)
std::map< std::string, std::string > APICommandCall
std::tr1::shared_ptr< std::string > _CharacterList(const APICommandCall *pAPICommandCall)
std::tr1::shared_ptr< std::string > _SystemList(const APICommandCall *pAPICommandCall)
std::tr1::shared_ptr< std::string > _ShipFittingList(const APICommandCall *pAPICommandCall)
std::tr1::shared_ptr< std::string > _CharacterSummary(const APICommandCall *pAPICommandCall)
Generic Base Class used to derive classes for specific service handlers (character, corporation, etc)
std::tr1::shared_ptr< std::string > _ShipTargetList(const APICommandCall *pAPICommandCall)
std::tr1::shared_ptr< std::string > _FittedModuleChargeInfo(const APICommandCall *pAPICommandCall)
std::tr1::shared_ptr< std::string > _ShipTacticalInfo(const APICommandCall *pAPICommandCall)
std::tr1::shared_ptr< std::string > _FittedModuleInfo(const APICommandCall *pAPICommandCall)
std::tr1::shared_ptr< std::string > _BubbleEntityList(const APICommandCall *pAPICommandCall)
std::tr1::shared_ptr< std::string > _EntitiesTargetingShipList(const APICommandCall *pAPICommandCall)
PyServiceMgr & services()
std::tr1::shared_ptr< std::string > _SystemBubbleList(const APICommandCall *pAPICommandCall)
std::tr1::shared_ptr< std::string > ProcessCall(const APICommandCall *pAPICommandCall)