llarp::simulate::Simulation

Inherits from std::enable_shared_from_this< Simulation >

Public Functions

Name
Simulation()
void NodeUp(llarp::Context * node)
Node_ptr AddNode(const std::string & name)
void DelNode(const std::string & name)

Public Attributes

Name
llarp::CryptoManager m_CryptoManager
EventLoop_ptr m_NetLoop
std::unordered_map< std::string, Node_ptr > m_Nodes

Public Functions Documentation

function Simulation

Simulation()

function NodeUp

void NodeUp(
    llarp::Context * node
)

function AddNode

Node_ptr AddNode(
    const std::string & name
)

function DelNode

void DelNode(
    const std::string & name
)

Public Attributes Documentation

variable m_CryptoManager

llarp::CryptoManager m_CryptoManager;

variable m_NetLoop

EventLoop_ptr m_NetLoop;

variable m_Nodes

std::unordered_map< std::string, Node_ptr > m_Nodes;

Updated on 2026-01-10 at 22:49:45 +0000