XIOS
1.0
Xml I/O Server
|
A generic ternary arithmetic filter wrapping any type of ternary field-field-scalar operator. Plus de détails...
#include <ternary_arithmetic_filter.hpp>
Fonctions membres publiques | |
CFieldFieldScalarArithmeticFilter (CGarbageCollector &gc, const std::string &op, double value) | |
Constructs an ternary field-field-scalar arithmetic filter wrapping the specified operator. Plus de détails... | |
Fonctions membres publiques inherited from xios::CFilter | |
CFilter (CGarbageCollector &gc, size_t inputSlotsCount, IFilterEngine *engine) | |
Constructs a filter with the specified number of input slots and the specified engine. Plus de détails... | |
virtual void | setInputTrigger (size_t inputSlot, COutputPin *trigger) |
Sets the trigger for a specific input slot. Plus de détails... | |
virtual void | trigger (Time timestamp) |
Triggers the filter for the specified timestamp. Plus de détails... | |
virtual bool | canBeTriggered () const |
Tests if the filter can be triggered. Plus de détails... | |
virtual bool | mustAutoTrigger () const |
Tests if the filter must auto-trigger. Plus de détails... | |
virtual bool | isDataExpected (const CDate &date) const |
Tests whether data is expected for the specified date. Plus de détails... | |
Fonctions membres publiques inherited from xios::CInputPin | |
CInputPin (CGarbageCollector &gc, size_t slotsCount) | |
Constructs an input pin with the specified number of slots and an associated garbage collector. Plus de détails... | |
void | setInput (size_t inputSlot, CDataPacketPtr packet) |
Receives a data packet from an upstream filter on the specified input slot. Plus de détails... | |
virtual void | invalidate (Time timestamp) |
Removes all pending packets which are older than the specified timestamp. Plus de détails... | |
Fonctions membres publiques inherited from xios::COutputPin | |
COutputPin (CGarbageCollector &gc, bool manualTrigger=false) | |
Constructs an ouput pin with manual or automatic trigger and an associated garbage collector. Plus de détails... | |
void | connectOutput (std::shared_ptr< CInputPin > inputPin, size_t inputSlot) |
Connects to a specific slot of the input pin of a downstream filter. Plus de détails... | |
virtual void | invalidate (Time timestamp) |
Removes all pending packets which are older than the specified timestamp. Plus de détails... | |
Fonctions membres protégées | |
virtual CDataPacketPtr | apply (std::vector< CDataPacketPtr > data) |
Applies the ternary field-field-scalar operator to the input data and returns the result. Plus de détails... | |
Fonctions membres protégées inherited from xios::CFilter | |
virtual void | onInputReady (std::vector< CDataPacketPtr > data) |
Generic implementation of the input pin notification function, processes the data using the filter engine and passes the resulting packet (if any) to the downstreams filters. Plus de détails... | |
Fonctions membres protégées inherited from xios::COutputPin | |
void | onOutputReady (CDataPacketPtr packet) |
Function triggered when a packet is ready to be delivered. Plus de détails... | |
void | setOutputTriggers () |
Informs the downstream pins that this output pin should be triggered. Plus de détails... | |
Attributs protégés | |
COperatorExpr::functionFieldFieldScalar | op |
The ternary field-field-scalar operator attached to the ternary arithmeric filter. Plus de détails... | |
double | value |
The scalar value associated with the ternary arithmeric filter. Plus de détails... | |
Attributs protégés inherited from xios::CFilter | |
IFilterEngine * | engine |
The filter engine, might be the filter itself. Plus de détails... | |
size_t | inputSlotCount |
Number of slot on filter. Plus de détails... | |
A generic ternary arithmetic filter wrapping any type of ternary field-field-scalar operator.
Définition à la ligne 164 du fichier ternary_arithmetic_filter.hpp.
xios::CFieldFieldScalarArithmeticFilter::CFieldFieldScalarArithmeticFilter | ( | CGarbageCollector & | gc, |
const std::string & | op, | ||
double | value | ||
) |
Constructs an ternary field-field-scalar arithmetic filter wrapping the specified operator.
gc | the associated garbage collector |
op | the string identifing the ternary field-scalar-field operator |
value | the scalar value |
Définition à la ligne 118 du fichier ternary_arithmetic_filter.cpp.
|
protectedvirtual |
Applies the ternary field-field-scalar operator to the input data and returns the result.
data | a vector of packets corresponding to each slot (one in this case) |
Implémente xios::IFilterEngine.
Définition à la ligne 124 du fichier ternary_arithmetic_filter.cpp.
Références xios::CDataPacket::NO_ERROR, op, et value.
|
protected |
The ternary field-field-scalar operator attached to the ternary arithmeric filter.
Définition à la ligne 177 du fichier ternary_arithmetic_filter.hpp.
Référencé par apply().
|
protected |
The scalar value associated with the ternary arithmeric filter.
Définition à la ligne 178 du fichier ternary_arithmetic_filter.hpp.
Référencé par apply().