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. 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 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. 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

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

Detailed Description

Definition at line 16 of file MemoryNameSystem.h.

Member Typedef Documentation

◆ WaitForServerFuturePtr

using WaitForServerFuturePtr = AMD_MemoryNameSystemInterface_waitForServerPtr

Definition at line 19 of file MemoryNameSystem.h.

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.

Definition at line 56 of file MemoryNameSystem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoteGui_buildInfoGrid()

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

Builds a RemoteGui grid containing information about registered memories.

Definition at line 65 of file MemoryNameSystem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ waitForServer_async()

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.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ waitForServer_processOnce()

void waitForServer_processOnce ( )

Definition at line 23 of file MemoryNameSystem.cpp.

+ Here is the caller graph for this function:

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