|
#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 () |
![]() | |
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... | |
![]() | |
SpamFilterDataPtr | deactivateSpam (float deactivationDurationSec=10.0f, const std::string &identifier="", bool deactivate=true) const |
disables the logging for the current line for the given amount of seconds. More... | |
MessageTypeT | getEffectiveLoggingLevel () const |
Logging () | |
void | setLocalMinimumLoggingLevel (MessageTypeT level) |
With setLocalMinimumLoggingLevel the minimum verbosity-level of log-messages can be set. More... | |
void | setTag (const LogTag &tag) |
void | setTag (const std::string &tagName) |
virtual | ~Logging () |
Additional Inherited Members | |
![]() | |
std::map< std::string, ServerInfo > | servers |
The registered memories. More... | |
![]() | |
bool | checkLogLevel (MessageTypeT level) const |
const LogSenderPtr & | getLogSender () const |
Retrieve log sender. More... | |
LogSenderPtr | loghelper (const char *file, int line, const char *function) const |
![]() | |
MessageTypeT | minimumLoggingLevel |
SpamFilterDataPtr | spamFilter |
LogTag | tag |
Definition at line 16 of file MemoryNameSystem.h.
using WaitForServerFuturePtr = AMD_MemoryNameSystemInterface_waitForServerPtr |
Definition at line 19 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 56 of file MemoryNameSystem.cpp.
armarx::RemoteGui::Client::GridLayout RemoteGui_buildInfoGrid | ( | ) |
Builds a RemoteGui grid containing information about registered memories.
Definition at line 65 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 | ( | ) |