-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathAgent.h
More file actions
44 lines (33 loc) · 778 Bytes
/
Copy pathAgent.h
File metadata and controls
44 lines (33 loc) · 778 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*
* Agent.h
*
* Created on: 11/lug/2013
* Author: Stefano Ceccherini
*/
#ifndef AGENT_H_
#define AGENT_H_
#include <string>
class Inventory;
class Agent {
public:
Agent();
~Agent();
void RunInventory(bool noSoftware);
std::string LastInventoryXML() const;
void PrintToStream();
void SaveToFile(const std::string& filePathName);
bool SendToServer(const std::string& serverString);
static std::string Version();
static std::string LegacyAgentString();
static std::string AgentString();
// disabled
Agent(const Agent&) = delete;
Agent& operator=(const Agent& other) = delete;
private:
void _RetrieveInventory();
void _PrintInventory();
void _SendInventory();
Inventory* fInventory;
static std::string sAgentString;
};
#endif /* AGENT_H_ */