|
|
||||||
|
iop_vdevice.h
Go to the documentation of this file.
202 virtual void DoWrite(TokenWriter& rTw,const std::string& rLabel="", const Type* pContext=0) const;
237 * The device may be in one of four operating states Down, StartUp, Up or ShutDown. Once configured
649 * The vDevice inplements token writing to consist of DoWritePreface (device name and time scale).
650 * and DoWriteConfiguration (device specific event attributes). The default label is taken from the
651 * member variable mDefaultLabel. Derived classes are meant to set mDefaultLabel in their constructor
662 virtual void DoWrite(TokenWriter& rTw, const std::string& rLabel="", const Type* pContext=0) const;
666 * This function is part of the non-event-configuration token-output mechanism. The vDevice will write
667 * its name and the time scale, derived classes are meant to first call the base class method and then
670 * Note: in order to keep the inputfile-layout as easy as possible no label will be used to separate
681 virtual void DoWritePreface(TokenWriter& rTw, const std::string& rLabel="", const Type* pContext=0) const;
686 * This function is part of the event-configuration token-output mechanism. It writes the device-specific
687 * event-configuration to provided TokenWriter. It uses the virtual interface of TBaseSet to figure the
700 virtual void DoWriteConfiguration(TokenWriter& rTw, const std::string& rLabel="", const Type* pContext=0) const;
704 * The vDevice implkements token input to consist of DoReadPreface (name, time scale etc) and DoReadConfiguration
705 * (events attributes), followed by Compile (set up internal data structures). The default label is given by
706 * the member variable mDefaultLabel. Derived classes arte meant to set mDefaultLabel in their constructor and
707 * to reimplement DoReadPreface to cover additional parameters. The pContext parameter is ignored.
723 * This function is part of the non-event-configuration token-input mechanism and located at the top
724 * of the class hierarchy. The vDevice will read its name and the time scale, derived classes are meant
727 * Note: in order to keep the inputfile-layout as easy as possible no label will be used to separate
738 virtual void DoReadPreface(TokenReader& rTr, const std::string& rLabel = "", const Type* pContext=0);
742 * This function is part of the token-input mechanism and reads the device-specific event-configuration.
743 * It uses the virtual interface of TBaseSet to figure the actual attribute type. The section defaults to
753 virtual void DoReadConfiguration(TokenReader& rTr, const std::string& rLabel = "", const Type* pContext=0);
#define FAUDES_TYPE_DECLARATION(ftype, ctype, cbase) Definition: cfl_types.h:880 Definition: cfl_types.h:1056 Definition: iop_vdevice.h:68 const AttributeVoid * pOutputPrototype Definition: iop_vdevice.h:148 const AttributeVoid * Outputp(void) const Definition: iop_vdevice.h:133 const AttributeVoid * Inputp(void) const Definition: iop_vdevice.h:136 virtual void Output(const AttributeVoid &rOutputAttribute) Definition: iop_vdevice.h:109 virtual void Input(const AttributeVoid &rInputAttribute) Definition: iop_vdevice.h:115 const AttributeVoid * pInputPrototype Definition: iop_vdevice.h:151 virtual void ReadInput(TokenReader &rTr) Definition: iop_vdevice.h:127 AttributeVoid * mpInputAttribute Definition: iop_vdevice.h:145 AttributeVoid * mpOutputAttribute Definition: iop_vdevice.h:136 virtual bool IsDefault(void) const Definition: iop_vdevice.h:88 virtual void ReadOutput(TokenReader &rTr) Definition: iop_vdevice.h:121 Definition: cfl_nameset.h:70 Definition: cfl_tokenreader.h:64 Definition: cfl_tokenwriter.h:52 Definition: cfl_types.h:246 Definition: iop_vdevice.h:259 int mPerformanceBeginIterator Definition: iop_vdevice.h:830 faudes_systime_t * mpPerformanceWaitEnter Definition: iop_vdevice.h:825 virtual void WriteOutput(Idx output)=0 faudes_systime_t * mpPerformanceWaitExit Definition: iop_vdevice.h:826 Definition: iop_xdevice.h:49 Definition: cfl_agenerator.h:43 libFAUDES 2.33h --- 2025.06.18 --- c++ api documentaion by doxygen |