|
|
||||||
|
iop_vdevice.h
Go to the documentation of this file.
204 virtual void DoWrite(TokenWriter& rTw,const std::string& rLabel="", const Type* pContext=0) const;
239 * The device may be in one of four operating states Down, StartUp, Up or ShutDown. Once configured
651 * The vDevice inplements token writing to consist of DoWritePreface (device name and time scale).
652 * and DoWriteConfiguration (device specific event attributes). The default label is taken from the
653 * member variable mDefaultLabel. Derived classes are meant to set mDefaultLabel in their constructor
664 virtual void DoWrite(TokenWriter& rTw, const std::string& rLabel="", const Type* pContext=0) const;
668 * This function is part of the non-event-configuration token-output mechanism. The vDevice will write
669 * its name and the time scale, derived classes are meant to first call the base class method and then
672 * Note: in order to keep the inputfile-layout as easy as possible no label will be used to separate
683 virtual void DoWritePreface(TokenWriter& rTw, const std::string& rLabel="", const Type* pContext=0) const;
688 * This function is part of the event-configuration token-output mechanism. It writes the device-specific
689 * event-configuration to provided TokenWriter. It uses the virtual interface of TBaseSet to figure the
702 virtual void DoWriteConfiguration(TokenWriter& rTw, const std::string& rLabel="", const Type* pContext=0) const;
706 * The vDevice implkements token input to consist of DoReadPreface (name, time scale etc) and DoReadConfiguration
707 * (events attributes), followed by Compile (set up internal data structures). The default label is given by
708 * the member variable mDefaultLabel. Derived classes arte meant to set mDefaultLabel in their constructor and
709 * to reimplement DoReadPreface to cover additional parameters. The pContext parameter is ignored.
725 * This function is part of the non-event-configuration token-input mechanism and located at the top
726 * of the class hierarchy. The vDevice will read its name and the time scale, derived classes are meant
729 * Note: in order to keep the inputfile-layout as easy as possible no label will be used to separate
740 virtual void DoReadPreface(TokenReader& rTr, const std::string& rLabel = "", const Type* pContext=0);
744 * This function is part of the token-input mechanism and reads the device-specific event-configuration.
745 * It uses the virtual interface of TBaseSet to figure the actual attribute type. The section defaults to
755 virtual void DoReadConfiguration(TokenReader& rTr, const std::string& rLabel = "", const Type* pContext=0);
#define FAUDES_TYPE_DECLARATION(ftype, ctype, cbase) faudes type declaration macro Definition: cfl_types.h:867 Attribute for the configuration of a input or output mapping. Definition: iop_vdevice.h:68 const AttributeVoid * pOutputPrototype Output Prototype (set to nontrivial attribute in derived classes) Definition: iop_vdevice.h:148 const AttributeVoid * Outputp(void) const Get output mapping (return 0 if its not an output) Definition: iop_vdevice.h:133 const AttributeVoid * Inputp(void) const Get input mapping (return 0 if its not a input) Definition: iop_vdevice.h:136 virtual void Output(const AttributeVoid &rOutputAttribute) Set output attribute. Definition: iop_vdevice.h:109 virtual void Input(const AttributeVoid &rInputAttribute) Set input attribute. Definition: iop_vdevice.h:115 const AttributeVoid * pInputPrototype Input Prototype (set to nontrivial attribute in derived classes) Definition: iop_vdevice.h:151 AttributeVoid * mpInputAttribute Input Attribute (use cast in derived classes) Definition: iop_vdevice.h:145 AttributeVoid * mpOutputAttribute Output Attribute (use cast in derived classes) Definition: iop_vdevice.h:136 A TokenReader reads sequential tokens from a file or string. Definition: cfl_tokenreader.h:63 A TokenWriter writes sequential tokens to a file, a string or stdout. Definition: cfl_tokenwriter.h:51 Base class of all libFAUDES objects that participate in the run-time interface. Definition: cfl_types.h:239 Virtual base class to define the interface for event io. Definition: iop_vdevice.h:261 int mPerformanceBeginIterator Definition: iop_vdevice.h:832 faudes_systime_t * mpPerformanceWaitEnter Structures to store time-samples in. Definition: iop_vdevice.h:827 EventSet * mpConfiguration Overall event configuration (uses cast for type) Definition: iop_vdevice.h:761 faudes_systime_t * mpPerformanceWaitExit Definition: iop_vdevice.h:828 void Tolerance(Time::Type maxgap) Set tolerance for time synchonisation. Definition: iop_vdevice.h:344 Includes all libFAUDES headers, no plugins. Discrete density function approximation. Include timed plugin headers. libFAUDES 2.32b --- 2024.03.01 --- c++ api documentaion by doxygen |