30 properties->defineOptionalProperty<std::string>(
33 "Name of the Memory Name System (MNS) component.");
35 if (not properties->hasDefinition(
makePropertyName(PROPERTY_MNS_ENABLED_NAME)))
37 properties->defineOptionalProperty<
bool>(
39 memoryNameSystemEnabled,
40 "Whether to use (and depend on) the Memory Name System (MNS)."
41 "\nSet to false to use this memory as a stand-alone.");
48 parent<Component>().getProperty(memoryNameSystemName,
makePropertyName(PROPERTY_MNS_NAME_NAME));
49 parent<Component>().getProperty(memoryNameSystemEnabled,
makePropertyName(PROPERTY_MNS_ENABLED_NAME));
71 return memoryNameSystemEnabled;
78 return memoryNameSystemName;
82 mns::MemoryNameSystemInterfacePrx
94 return memoryNameSystem;
101 return memoryNameSystem;