#include <soccermonitor.h>
Inheritance diagram for SoccerMonitor:
Public Types | |
typedef std::map< std::string, EPredicate > | TPredicateMap |
enum | EPredicate { P_PLAYMODES, P_TIME, P_PLAYMODE, P_HALF } |
Public Member Functions | |
SoccerMonitor () | |
virtual | ~SoccerMonitor () |
virtual void | ParseCustomPredicates (const oxygen::PredicateList &pList) |
This function will be called periodically to do any monitor updates. | |
TTime | GetTime () const |
TPlayMode | GetPlayMode () const |
std::string | GetPlayModeString () const |
TGameHalf | GetGameHalf () const |
std::string | GetGameHalfString () const |
Protected Member Functions | |
void | ParsePredicates (const oxygen::PredicateList &pList) |
void | ParsePlayModes (const oxygen::Predicate &pred) |
void | SetupPredicateMap () |
Protected Attributes | |
TPredicateMap | mPredMap |
float | mTime |
int | mPlayMode |
int | mHalf |
std::vector< std::string > | mPlayModes |
Definition at line 30 of file soccermonitor.h.
|
Definition at line 41 of file soccermonitor.h. |
|
Definition at line 33 of file soccermonitor.h. |
|
Definition at line 28 of file soccermonitor.cpp. References mHalf, mPlayMode, mTime, PM_NONE, and SetupPredicateMap(). Here is the call graph for this function: ![]() |
|
Definition at line 37 of file soccermonitor.cpp. |
|
Definition at line 144 of file soccermonitor.cpp. References mHalf. |
|
Definition at line 149 of file soccermonitor.cpp. References mHalf. |
|
Definition at line 126 of file soccermonitor.cpp. References mPlayMode. |
|
Definition at line 131 of file soccermonitor.cpp. References mPlayMode, and mPlayModes. |
|
Definition at line 121 of file soccermonitor.cpp. References mTime. |
|
This function will be called periodically to do any monitor updates. Custom predicates received via the SparkMonitorClient are passed as a PredicateList Implements oxygen::CustomMonitor. Definition at line 41 of file soccermonitor.cpp. References ParsePredicates(). Here is the call graph for this function: ![]() |
|
Definition at line 95 of file soccermonitor.cpp. References zeitgeist::ParameterList::AdvanceValue(), zeitgeist::ParameterList::begin(), zeitgeist::ParameterList::end(), mPlayModes, oxygen::Predicate::parameter, and paramList. Referenced by ParsePredicates(). Here is the call graph for this function: ![]() |
|
Definition at line 46 of file soccermonitor.cpp. References oxygen::PredicateList::begin(), oxygen::PredicateList::end(), mHalf, mPlayMode, mPredMap, mTime, oxygen::Predicate::name, P_HALF, P_PLAYMODE, P_PLAYMODES, P_TIME, and ParsePlayModes(). Referenced by ParseCustomPredicates(). Here is the call graph for this function: ![]() |
|
Definition at line 112 of file soccermonitor.cpp. References mPredMap, P_HALF, P_PLAYMODE, P_PLAYMODES, and P_TIME. Referenced by SoccerMonitor(). |
|
Definition at line 73 of file soccermonitor.h. Referenced by GetGameHalf(), GetGameHalfString(), ParsePredicates(), and SoccerMonitor(). |
|
Definition at line 72 of file soccermonitor.h. Referenced by GetPlayMode(), GetPlayModeString(), ParsePredicates(), and SoccerMonitor(). |
|
Definition at line 75 of file soccermonitor.h. Referenced by GetPlayModeString(), and ParsePlayModes(). |
|
Definition at line 69 of file soccermonitor.h. Referenced by ParsePredicates(), and SetupPredicateMap(). |
|
Definition at line 71 of file soccermonitor.h. Referenced by GetTime(), ParsePredicates(), and SoccerMonitor(). |