Skip to content

Commit 3080ce9

Browse files
Brian CampuzanoBrian Campuzano
authored andcommitted
Initial prototype of external parameter types
1 parent 5287d2f commit 3080ce9

2 files changed

Lines changed: 22 additions & 1 deletion

File tree

Fw/Prm/PrmBuffer.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Cmd.hpp
2+
* PrmBuffer.hpp
33
*
44
* Created on: Sep 10, 2012
55
* Author: ppandian

Fw/Prm/PrmExternalTypes.hpp

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// ============================================================================
2+
// @file PrmExternalTypes.hpp
3+
// @author Brian Campuzano
4+
// @brief Types for delegating parameter serialization and deserialization
5+
// ============================================================================
6+
7+
#ifndef FW_EXTERNAL_PARAM_TYPES_HPP
8+
#define FW_EXTERNAL_PARAM_TYPES_HPP
9+
10+
namespace Fw {
11+
12+
// TODO fix these types with Havard
13+
// TODO Why isn't spell check running?
14+
using ParamSerizationFunc = auto (const FwPrmIdType id, ParamBuffer& buff) -> void;
15+
// Do we need/want this?
16+
using ParamSerizationFuncPtr = ParamSerization (*);
17+
using ParamDeserizationPtr = SerializeStatus (*) (const FwPrmIdType id, ParamBuffer& buff);
18+
19+
} // namespace Fw
20+
21+
#endif

0 commit comments

Comments
 (0)