Page MenuHomePhorge

AgentSlotOfTestbench.cpp
No OneTemporary

Size
530 B
Referenced Files
None
Subscribers
None

AgentSlotOfTestbench.cpp

#include "AgentSlotOfTestbench.h"
#include <stdio.h>
void AgentSlotOfTestbench::init_agentSlotOfTestbench() { agent = NULL; }
AgentSlotOfTestbench::AgentSlotOfTestbench() { init_agentSlotOfTestbench(); }
bool AgentSlotOfTestbench::set_agent(Agent *agent) {
if (agent != NULL) {
this->agent = agent;
return true;
}
return false;
}
bool AgentSlotOfTestbench::del_agent() {
if (agent != NULL) {
agent = NULL;
return true;
}
return false;
}
Agent *AgentSlotOfTestbench::get_agent() { return agent; }

File Metadata

Mime Type
text/x-c
Expires
Sun, Mar 1, 9:36 PM (1 d, 9 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
283016
Default Alt Text
AgentSlotOfTestbench.cpp (530 B)

Event Timeline