all retval replacements
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
This commit is contained in:
@ -37,7 +37,7 @@ PusTcInjector::~PusTcInjector() {}
|
||||
// // Send TC packet.
|
||||
// TmTcMessage tcMessage(tcPacket.getStoreAddress());
|
||||
// ReturnValue_t result = injectionQueue->sendToDefault(&tcMessage);
|
||||
// if(result != HasReturnvaluesIF::RETURN_OK) {
|
||||
// if(result != returnvalue::OK) {
|
||||
// sif::warning << "PusTcInjector: Sending TMTC message failed!" << std::endl;
|
||||
// }
|
||||
// return result;
|
||||
@ -61,5 +61,5 @@ ReturnValue_t PusTcInjector::initialize() {
|
||||
sif::error << "PusTcInjector: TC Store not initialized!" << std::endl;
|
||||
return ObjectManagerIF::CHILD_INIT_FAILED;
|
||||
}
|
||||
return HasReturnvaluesIF::RETURN_OK;
|
||||
return returnvalue::OK;
|
||||
}
|
||||
|
@ -27,7 +27,7 @@ class PusTcInjector : public SystemObject {
|
||||
/**
|
||||
* This has to be called before using the PusTcInjector.
|
||||
* Call Not necessary when using a factory and the object manager.
|
||||
* @return -@c RETURN_OK for successfull init
|
||||
* @return -@c returnvalue::OK for successfull init
|
||||
* -@c ObjectManagerIF::CHILD_INIT_FAILED otherwise
|
||||
*/
|
||||
ReturnValue_t initialize() override;
|
||||
|
@ -18,7 +18,7 @@ EiveTestTask::EiveTestTask(object_id_t objectId_) : TestTask(objectId_), testMod
|
||||
EiveTestTask::~EiveTestTask() {}
|
||||
|
||||
ReturnValue_t EiveTestTask::performOperation(uint8_t operationCode) {
|
||||
ReturnValue_t result = RETURN_OK;
|
||||
ReturnValue_t result = returnvalue::OK;
|
||||
|
||||
if (oneShotAction) {
|
||||
/* Add code here which should only be run once */
|
||||
@ -76,22 +76,22 @@ ReturnValue_t EiveTestTask::performOneShotAction() {
|
||||
#if OBSW_ADD_TEST_CODE == 1
|
||||
// performLwgpsTest();
|
||||
#endif
|
||||
return HasReturnvaluesIF::RETURN_OK;
|
||||
return returnvalue::OK;
|
||||
}
|
||||
|
||||
ReturnValue_t EiveTestTask::performPeriodicAction() {
|
||||
ReturnValue_t result = RETURN_OK;
|
||||
ReturnValue_t result = returnvalue::OK;
|
||||
return result;
|
||||
}
|
||||
|
||||
ReturnValue_t EiveTestTask::performActionA() {
|
||||
ReturnValue_t result = RETURN_OK;
|
||||
ReturnValue_t result = returnvalue::OK;
|
||||
/* Add periodically executed code here */
|
||||
return result;
|
||||
}
|
||||
|
||||
ReturnValue_t EiveTestTask::performActionB() {
|
||||
ReturnValue_t result = RETURN_OK;
|
||||
ReturnValue_t result = returnvalue::OK;
|
||||
/* Add periodically executed code here */
|
||||
return result;
|
||||
}
|
||||
|
Reference in New Issue
Block a user