summaryrefslogtreecommitdiff
path: root/maximus/functioncall/inc/FunctionCallManager.h
diff options
context:
space:
mode:
authorburet2007-06-22 15:05:09 +0000
committerburet2007-06-22 15:05:09 +0000
commitd9c21f2229b77a3087d6775c05ec15c2b7ae7928 (patch)
tree2436418af1e64a1a54eadd9b1cb22937fc17e310 /maximus/functioncall/inc/FunctionCallManager.h
parent1e85eb539a56148325f0feb795901f9dbe1ee0fd (diff)
- Get function call parameter
- Send SCI msg into SCI server git-svn-id: svn+ssh://pessac/svn/cesar/trunk@361 017c9cb6-072f-447c-8318-d5b54f68fe89
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
//