#include <ProxyDepChecker.h>
Public Methods | |
| ProxyDepChecker () | |
| virtual std::string | getCheckerName () |
| Returns a string name of the checker. More... | |
| virtual bool | canHandle (jccl::ConfigElementPtr element) |
| virtual bool | depSatisfied (jccl::ConfigElementPtr element) |
| Are the dependencies satisfied? Defaults to all being handled for it. More... | |
| virtual void | debugOutDependencies (jccl::ConfigElementPtr element, int dbg_lvl=vprDBG_WARNING_LVL) |
| Writes out the dependencies to the vprDEBUG macro. More... | |
Definition at line 48 of file ProxyDepChecker.h.
|
|
Definition at line 51 of file ProxyDepChecker.h.
00052 {;}
|
|
|
Returns a string name of the checker. This is used to output messages in checker listings. Definition at line 58 of file ProxyDepChecker.h.
00059 { return std::string("gadget::ProxyChecker Checker"); }
|
|
|
Definition at line 46 of file ProxyDepChecker.cpp.
00047 {
00048 std::string element_type(element->getID());
00049
00050 bool ret_val;
00051 ret_val = ((element_type == AnalogProxy::getElementType()) ||
00052 (element_type == DigitalProxy::getElementType()) ||
00053 (element_type == GestureProxy::getElementType()) ||
00054 (element_type == GloveProxy::getElementType()) ||
00055 (element_type == EventWindowProxy::getElementType()) ||
00056 (element_type == PositionProxy::getElementType()));
00057
00058 return ret_val;
00059 }
|
|
|
Are the dependencies satisfied? Defaults to all being handled for it.
Definition at line 68 of file ProxyDepChecker.h.
00069 {
00070 boost::ignore_unused_variable_warning(element);
00071 return true;
00072 }
|
|
||||||||||||
|
Writes out the dependencies to the vprDEBUG macro.
Definition at line 75 of file ProxyDepChecker.h.
00077 {
00078 jccl::DepChecker::debugOutDependencies(element, dbg_lvl);
00079 vprDEBUG_NEXT_BEGIN(vprDBG_ALL,dbg_lvl)
00080 << "Proxies should never have dependencies!!!" << vprDEBUG_FLUSH;
00081 }
|
1.2.14 written by Dimitri van Heesch,
© 1997-2002