String -> std::string, toString methods removed
This commit is contained in:
@@ -12,10 +12,12 @@
|
||||
|
||||
#include <pv/monitorPlugin.h>
|
||||
|
||||
namespace epics { namespace pvData {
|
||||
using std::string;
|
||||
using std::cout;
|
||||
using std::endl;
|
||||
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
MonitorPluginManagerPtr MonitorPluginManager::get()
|
||||
{
|
||||
static MonitorPluginManagerPtr pluginManager;
|
||||
@@ -28,7 +30,7 @@ MonitorPluginManagerPtr MonitorPluginManager::get()
|
||||
}
|
||||
|
||||
bool MonitorPluginManager::addPlugin(
|
||||
String const &pluginName,
|
||||
string const &pluginName,
|
||||
MonitorPluginCreatorPtr const &creator)
|
||||
{
|
||||
mutex.lock();
|
||||
@@ -53,7 +55,7 @@ bool MonitorPluginManager::addPlugin(
|
||||
|
||||
|
||||
MonitorPluginCreatorPtr MonitorPluginManager::findPlugin(
|
||||
String const &pluginName)
|
||||
string const &pluginName)
|
||||
{
|
||||
mutex.lock();
|
||||
std::list<MonitorPluginCreatorPtr>::iterator iter;
|
||||
|
||||
@@ -56,7 +56,7 @@ public:
|
||||
* getName
|
||||
* @returns The name of the plugin
|
||||
*/
|
||||
virtual String const & getName() = 0;
|
||||
virtual std::string const & getName() = 0;
|
||||
/**
|
||||
* Should a monitor be raised?
|
||||
* @param pvField The field being monitored.
|
||||
@@ -125,7 +125,7 @@ public:
|
||||
* getName
|
||||
* @returns The name of the plugin
|
||||
*/
|
||||
virtual String const & getName() = 0;
|
||||
virtual std::string const & getName() = 0;
|
||||
};
|
||||
|
||||
|
||||
@@ -152,7 +152,7 @@ public:
|
||||
* false is returned if a plugin with that name is already present
|
||||
*/
|
||||
bool addPlugin(
|
||||
String const &pluginName,
|
||||
std::string const &pluginName,
|
||||
MonitorPluginCreatorPtr const &creator);
|
||||
/* find plugin
|
||||
*
|
||||
@@ -160,7 +160,7 @@ public:
|
||||
* @returns share pointer to plugin creator.
|
||||
* If a plugin with that name is not found NULL is returned.
|
||||
*/
|
||||
MonitorPluginCreatorPtr findPlugin(String const &pluginName);
|
||||
MonitorPluginCreatorPtr findPlugin(std::string const &pluginName);
|
||||
/* showNames
|
||||
*
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user