|
#include <RobotAPI/libraries/armem/mns/MemoryNameSystem.h>
Public Types | |
using | WaitForServerFuturePtr = AMD_MemoryNameSystemInterface_waitForServerPtr |
Public Member Functions | |
dto::RegisterServerResult | registerServer (const dto::RegisterServerInput &input) override |
Register a new memory server or update an existing entry. More... | |
armarx::RemoteGui::Client::GridLayout | RemoteGui_buildInfoGrid () |
Builds a RemoteGui grid containing information about registered memories. More... | |
void | waitForServer_async (const AMD_MemoryNameSystemInterface_waitForServerPtr &future, const dto::WaitForServerInput &input) |
Store the call in a container for later response. More... | |
void | waitForServer_processOnce () |
Public Member Functions inherited from Registry | |
dto::GetAllRegisteredServersResult | getAllRegisteredServers () |
bool | hasServer (const std::string &memoryName) const |
Indicates whether a server entry for that name exists. More... | |
Registry (const std::string &logTag="MemoryNameSystem Registry") | |
dto::RemoveServerResult | removeServer (const dto::RemoveServerInput &input) |
Remove a server entry. More... | |
dto::ResolveServerResult | resolveServer (const dto::ResolveServerInput &input) |
Gets a server entry, if it is available. More... | |
Public Attributes | |
std::map< std::string, std::vector< WaitForServerFuturePtr > > | waitForServerFutures |
Queued calls to waitForServer . More... | |
Public Attributes inherited from Registry | |
std::map< std::string, ServerInfo > | servers |
The registered memories. More... | |
Definition at line 16 of file MemoryNameSystem.h.
using WaitForServerFuturePtr = AMD_MemoryNameSystemInterface_waitForServerPtr |
Definition at line 20 of file MemoryNameSystem.h.
|
overridevirtual |
Register a new memory server or update an existing entry.
Causes threads waiting in waitForMemory()
to resume if the respective memory server was added.
Reimplemented from Registry.
Definition at line 44 of file MemoryNameSystem.cpp.
armarx::RemoteGui::Client::GridLayout RemoteGui_buildInfoGrid | ( | ) |
Builds a RemoteGui grid containing information about registered memories.
Definition at line 53 of file MemoryNameSystem.cpp.
void waitForServer_async | ( | const AMD_MemoryNameSystemInterface_waitForServerPtr & | future, |
const dto::WaitForServerInput & | input | ||
) |
Store the call in a container for later response.
Definition at line 8 of file MemoryNameSystem.cpp.
void waitForServer_processOnce | ( | ) |
std::map<std::string, std::vector<WaitForServerFuturePtr> > waitForServerFutures |
Queued calls to waitForServer
.
Definition at line 44 of file MemoryNameSystem.h.