MemoryNameSystem Class Reference

#include <RobotAPI/libraries/armem/mns/MemoryNameSystem.h>

+ Inheritance diagram for MemoryNameSystem:

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.
 
armarx::RemoteGui::Client::GridLayout RemoteGui_buildInfoGrid ()
 Builds a RemoteGui grid containing information about registered memories.
 
void waitForServer_async (const AMD_MemoryNameSystemInterface_waitForServerPtr &future, const dto::WaitForServerInput &input)
 Store the call in a container for later response.
 
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.
 
 Registry (const std::string &logTag="MemoryNameSystem Registry")
 
dto::RemoveServerResult removeServer (const dto::RemoveServerInput &input)
 Remove a server entry.
 
dto::ResolveServerResult resolveServer (const dto::ResolveServerInput &input)
 Gets a server entry, if it is available.
 
- Public Member Functions inherited from Logging
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.
 
MessageTypeT getEffectiveLoggingLevel () const
 
 Logging ()
 
void setLocalMinimumLoggingLevel (MessageTypeT level)
 With setLocalMinimumLoggingLevel the minimum verbosity-level of log-messages can be set.
 
void setTag (const LogTag &tag)
 
void setTag (const std::string &tagName)
 
virtual ~Logging ()
 

Additional Inherited Members

- Public Attributes inherited from Registry
std::map< std::string, ServerInfo > servers
 The registered memories.
 
- Protected Member Functions inherited from Logging
bool checkLogLevel (MessageTypeT level) const
 
const LogSenderPtr & getLogSender () const
 Retrieve log sender.
 
LogSenderPtr loghelper (const char *file, int line, const char *function) const
 
- Protected Attributes inherited from Logging
MessageTypeT minimumLoggingLevel
 
SpamFilterDataPtr spamFilter
 
LogTag tag
 

Member Typedef Documentation

◆ WaitForServerFuturePtr

using WaitForServerFuturePtr = AMD_MemoryNameSystemInterface_waitForServerPtr

Member Function Documentation

◆ registerServer()

dto::RegisterServerResult registerServer ( const dto::RegisterServerInput & input)
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.

◆ RemoteGui_buildInfoGrid()

armarx::RemoteGui::Client::GridLayout RemoteGui_buildInfoGrid ( )

Builds a RemoteGui grid containing information about registered memories.

◆ waitForServer_async()

void waitForServer_async ( const AMD_MemoryNameSystemInterface_waitForServerPtr & future,
const dto::WaitForServerInput & input )

Store the call in a container for later response.

◆ waitForServer_processOnce()

void waitForServer_processOnce ( )

The documentation for this class was generated from the following files: