#include <TAO.h>
Classes | |
struct | Cleanner |
struct | Option |
Public Member Functions | |
void | add (int id, std::string name, bool isReady) |
virtual bool | decide ()=0 |
ProtocolNext (int &res, decision_making::CallContext *call_context, decision_making::EventQueue *events) | |
void | resetResult () |
virtual | ~ProtocolNext () |
Protected Attributes | |
decision_making::CallContext * | call_context |
decision_making::EventQueue * | events |
std::vector< Option > | options |
int & | result |
decision_making::ProtocolNext::ProtocolNext | ( | int & | res, |
decision_making::CallContext * | call_context, | ||
decision_making::EventQueue * | events | ||
) | [inline] |
virtual decision_making::ProtocolNext::~ProtocolNext | ( | ) | [inline, virtual] |
void decision_making::ProtocolNext::add | ( | int | id, |
std::string | name, | ||
bool | isReady | ||
) | [inline] |
virtual bool decision_making::ProtocolNext::decide | ( | ) | [pure virtual] |
Implemented in decision_making::_NextPEMPTY, NextSelectFirst, and decision_making::NextFirstReady.
void decision_making::ProtocolNext::resetResult | ( | ) | [inline] |
std::vector<Option> decision_making::ProtocolNext::options [protected] |
int& decision_making::ProtocolNext::result [protected] |