[Gcblue-commits] gcb_wx/include/sim tcGoal.h,1.3,1.4 tcGoalTracker.h,1.1,1.2
Status: Alpha
Brought to you by:
ddcforge
|
From: Dewitt C. <ddc...@us...> - 2004-09-05 02:38:53
|
Update of /cvsroot/gcblue/gcb_wx/include/sim In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11670/include/sim Modified Files: tcGoal.h tcGoalTracker.h Log Message: Index: tcGoal.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/sim/tcGoal.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** tcGoal.h 17 Aug 2004 02:22:56 -0000 1.3 --- tcGoal.h 5 Sep 2004 02:38:44 -0000 1.4 *************** *** 56,63 **** --- 56,66 ---- static void AttachSimState(tcSimState *ss) {simState = ss;} + + std::string GoalStateToString(int goalState); bool IsFailed() {return goalState == FAILED;} bool IsPassed() {return goalState == PASSED;} bool IsUnresolved() {return goalState == UNRESOLVED;} virtual void Update(); ///< updates goal state using on simState + virtual void WriteStatus(std::stringstream& stream); virtual tcGoal* Clone(); *************** *** 85,88 **** --- 88,92 ---- void SetLogic(int logic) {logicType = logic;} virtual void Update(); ///< updates goal state using on simState + virtual void WriteStatus(std::stringstream& stream); virtual tcGoal* Clone(); *************** *** 104,107 **** --- 108,112 ---- void SetPassTimeout(double t) {passTimeout = t;} virtual void Update(); ///< updates goal state using on simState + virtual void WriteStatus(std::stringstream& stream); virtual tcGoal* Clone(); *************** *** 120,123 **** --- 125,129 ---- virtual void Update(); + virtual void WriteStatus(std::stringstream& stream); virtual tcGoal* Clone(); Index: tcGoalTracker.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/sim/tcGoalTracker.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** tcGoalTracker.h 11 Nov 2003 02:08:33 -0000 1.1 --- tcGoalTracker.h 5 Sep 2004 02:38:44 -0000 1.2 *************** *** 23,28 **** --- 23,31 ---- bool HasAllianceFailed(int alliance); bool HasAllianceSucceeded(int alliance); + void LogAllianceGoalStatus(std::string fileName, int alliance); void SetAllianceGoal(int alliance, tcGoal* goal); void Update(double currentTime); + void WriteStatus(std::stringstream& stream, int alliance); + tcGoalTracker(); ~tcGoalTracker(); |