summaryrefslogtreecommitdiff
path: root/maximus/functioncall/inc/FunctionCallManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'maximus/functioncall/inc/FunctionCallManager.h')
-rw-r--r--maximus/functioncall/inc/FunctionCallManager.h23
1 files changed, 5 insertions, 18 deletions
diff --git a/maximus/functioncall/inc/FunctionCallManager.h b/maximus/functioncall/inc/FunctionCallManager.h
index d815403055..99d73b4247 100644
--- a/maximus/functioncall/inc/FunctionCallManager.h
+++ b/maximus/functioncall/inc/FunctionCallManager.h
@@ -42,12 +42,12 @@ class SciServer;
#define callFunction(pFunction) (*(pFunction))
struct ltstr
{
- bool operator( ) ( const char * s1, const char * s2 ) const
+ bool operator( ) ( std::string s1, std::string s2 ) const
{
- return strcmp(s1, s2) < 0;
+ return s1.compare(s2) < 0;
}
};
-typedef std::map<const char *, callbackFunction, ltstr> Map;
+typedef std::map<std::string, callbackFunction, ltstr> Map;
/**
@@ -66,8 +66,6 @@ private:
// private attributes
//
-
- Network_Clock_Tick mNetworkClockTick;
Map * mpListOfCallbacks;
SciServer * mpSciServer;
@@ -109,7 +107,7 @@ public:
* @param function_sci_msg
* @param callback_address
*/
- bool registerCallback ( const char * callback_name, callbackFunction callback_address );
+ bool registerCallback ( std::string callback_name, callbackFunction callback_address );
/**
* @return bool
@@ -128,18 +126,7 @@ public:
// private attribute accessor methods
//
-
- /**
- * @return bool
- * @param current_tick_value
- */
- bool updateTickValue ( const Network_Clock_Tick current_tick_value );
-
- /**
- * @return Network_Clock_Tick
- */
- Network_Clock_Tick getNetworkClockTick ( ) const;
-
+
// protected attribute accessor methods
//