1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- #include "pch.h"
- #include "CommandAcknowledgedCondition.h"
- namespace Training
- {
-
-
-
- char CommandAcknowledgedCondition::m_cCommandAcknowledged = c_cidDoNothing;
-
-
-
- CommandAcknowledgedCondition::CommandAcknowledgedCondition (char cTargetCommand) :
- m_cTargetCommand (cTargetCommand)
- {
- }
-
- CommandAcknowledgedCondition::~CommandAcknowledgedCondition (void)
- {
- }
-
- bool CommandAcknowledgedCondition::Evaluate (void)
- {
- return (m_cCommandAcknowledged == m_cTargetCommand) ? true : false;
- }
-
- void CommandAcknowledgedCondition::SetCommandAcknowledged (char cAcknowledged)
- {
- m_cCommandAcknowledged = cAcknowledged;
- }
-
- }
|