21 template <
class GenLogic>
35 GenLogic * (*createlogic) ();
44 std::string
key = std::string(
"ChamberORLogic");
50 key = std::string(
"TestLogic");
56 key = std::string(
"PatternLogic");
63 key = std::string(
"TrackingAlg");
69 key = std::string(
"SectorORLogic");
75 key = std::string(
"TwoORLogic");
81 key = std::string(
"WedgeORLogic");
87 key = std::string(
"PointingLogic");
98 GenLogic *
retrieve(
const std::string & _logic_name )
108 typename std::vector<std::string>::iterator itr =
m_logkeys.begin();
123 typename std::vector<std::string>
m_logkeys;
126 #endif // LOGICTOOL_H
Ilogic * CreateObject(const Identifier &id)
TTUWedgeORLogic * createWedgeORLogic()
RBCChamberORLogic * createChamberORLogic()
TTUSectorORLogic * createSectorORLogic()
bool Register(const Identifier &id, LogicCreator creator)
RBCTestLogic * createTestLogic()
bool Unregister(const Identifier &id)
TTUPointingLogic * createPointingLogic()
TTUTwoORLogic * createTwoORLogic()
TTUTrackingAlg * createTrackingAlg()
RBCPatternLogic * createPatternLogic()