|
|
@ -8,6 +8,16 @@ |
|
|
|
namespace iflytop { |
|
|
|
using namespace std; |
|
|
|
|
|
|
|
#define ACTION_NONE ;
|
|
|
|
#define PROCESS_REG(param_id, readaction, writeacton) \
|
|
|
|
case param_id: { \ |
|
|
|
if (read) { \ |
|
|
|
readaction; \ |
|
|
|
} else { \ |
|
|
|
writeacton; \ |
|
|
|
} \ |
|
|
|
} |
|
|
|
|
|
|
|
class ModuleCMDExecStatus { |
|
|
|
public: |
|
|
|
int32_t exec_status = 0; |
|
|
@ -76,4 +86,4 @@ class ZIModule { |
|
|
|
virtual int32_t module_flush_cfg() { return err::koperation_not_support; } |
|
|
|
virtual int32_t module_active_cfg() { return err::koperation_not_support; } |
|
|
|
}; |
|
|
|
} // namespace iflytop
|
|
|
|
} // namespace iflytop
|