FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
Store the state of the agent. More...
#include <OjoState.hpp>
Public Member Functions | |
OjoState (const int agentId, const OjoCliOptions &cliOptions) | |
void | setAgentId (const int agentId) |
int | getAgentId () const |
const OjoCliOptions & | getCliOptions () const |
Get the OjoCliOptions set by user. More... | |
const OjoAgent & | getOjoAgent () const |
Private Attributes | |
int | agentId |
const OjoCliOptions | cliOptions |
const OjoAgent | ojoAgent |
Store the state of the agent.
Definition at line 50 of file OjoState.hpp.
OjoState::OjoState | ( | const int | agentId, |
const OjoCliOptions & | cliOptions | ||
) |
Constructor for State
agentId | Agent ID |
cliOptions | CLI options passed |
Definition at line 14 of file OjoState.cc.
int OjoState::getAgentId | ( | ) | const |
const OjoCliOptions & OjoState::getCliOptions | ( | ) | const |
Get the OjoCliOptions set by user.
Definition at line 71 of file OjoState.cc.
const OjoAgent & OjoState::getOjoAgent | ( | ) | const |
void OjoState::setAgentId | ( | const int | agentId | ) |
|
private |
Agent id
Definition at line 61 of file OjoState.hpp.
|
private |
CLI options passed
Definition at line 62 of file OjoState.hpp.
|
private |
Ojo agent object
Definition at line 63 of file OjoState.hpp.