Skip to content

Commit

Permalink
Variable length message fields allocation free (#965)
Browse files Browse the repository at this point in the history
  • Loading branch information
MiguelCompany committed Jan 28, 2020
1 parent 47214e9 commit 0f27014
Show file tree
Hide file tree
Showing 46 changed files with 3,658 additions and 1,513 deletions.
15 changes: 0 additions & 15 deletions include/fastrtps/qos/ParameterList.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,21 +70,6 @@ class ParameterList
rtps::CDRMessage_t* msg,
uint32_t& qos_size);

/**
* Read a parameterList from a CDRMessage
* @param[in] msg Reference to the message (the pos should be correct, otherwise the behaviour is undefined).
* @param[in] processor Function to process each of the parameters in the list.
* @param[in] use_encapsulation Wether encapsulation field should be read.
* @param[out] qos_size Number of bytes processed.
* @return true if parsing was correct, false otherwise.
*/
static bool readParameterListfromCDRMsg(
rtps::CDRMessage_t& msg,
std::function<bool(const Parameter_t*)> processor,
bool use_encapsulation,
uint32_t& qos_size);


/**
* Read change instanceHandle from the KEY_HASH or another specific PID parameter of a CDRMessage
* @param[in,out] change Pointer to the cache change.
Expand Down
Loading

0 comments on commit 0f27014

Please sign in to comment.