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);
libFAUDES 2.28a --- 2016.09.13 --- c++ api documentaion by doxygen |