Project

General

Profile

Actions

Support Request #3888

closed

EBPRODUCTSUPPORT-1194 Wrong Template documentation

Added by hidden over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Customer:
ELEKTROBIT
Department:
SUPPORT
Requester's Priority:
Normal
Support Level:
2nd Level
Resolution:
Product Issue Opened
Affected Products:
Platform:
Windows 7 64bit
Topic:
ADTF::Doc
FAQ Links:

Description

Support Anfrage:

Wieder ein Copy & Paste Fehler
filterbase.h Zeile 160-166

  • You can use an initializer list for the \p lstItems as follow:
  • @code {.cpp}
  • create_inner_pipe(m_oMyFilter, {"in_pin_1", "my_fancy_runner", "out_pin_1"}
    ;
  • @endcode
  • This function will create a pipe where the "my_fancy_runner" will be called from "in_pin_1" if some a synchronous DataTrigger is received.
  • "my_fanc_runner" will read data from "in_pin_1" by its Readers (or do something else) and writes data to the "out_pin_1".
  • If the "my_fancy_runner" returns it will forward a synchronous DataTrigger to "out_pin_1".

Das passt nicht zur Dokumentation des Templates:

template <typename DATABINDING_BEHAVIOUR_CLASS>
tResult create_inner_pipe(DATABINDING_BEHAVIOUR_CLASS& oComponent,
const adtf_util::cString& strNameOfRunner,
const adtf_util::cString& strSource,
base::runnable<base::ant::IRunnable::RUN_TRIGGER>::tRunFunction oRunFunc)

Fehlender lstItems Parameter. Wurde von der Doku ein paar Zeilen weiter oben kopiert, wo das Template so aussah:

template <typename DATABINDING_BEHAVIOUR_CLASS>
inline tResult create_inner_pipe(DATABINDING_BEHAVIOUR_CLASS& oComponent,
adtf_util::cStringList lstItems)

Lösung:

Problem kann in der Datei filterbase.h nachvollzogen werden.
Produkt-Ticket (BUG) ACORE-9646 erstellt.
Die weitere Bearbeitung erfolgt über das Produkt-Ticket.

Actions

Also available in: Atom PDF