|
|
||||||
|
iop_xdevice.cpp
Go to the documentation of this file.
74 volatile static AutoRegisterType<d3ripDARTDevice> gRtiIORegisterD3ripDartDevice("D3RipDartDevice");
365 void xDevice::DoWriteConfiguration(TokenWriter& rTw, const std::string& rLabel, const Type* pContext) const {
403 void xDevice::DoReadConfiguration(TokenReader& rTr, const std::string& rLabel, const Type* pContext) {
#define FAUDES_TYPE_IMPLEMENTATION(ftype, ctype, cbase) faudes type implementation macros, overall Definition: cfl_types.h:946 Attribute for the configuration of a input or output mapping. Definition: iop_vdevice.h:68 Auto register faudes-type with specified type name. Definition: cfl_registry.h:458 virtual void InsertSet(const NameSet &rOtherSet) Inserts all elements of rOtherSet. Definition: cfl_nameset.cpp:295 A TokenReader reads sequential tokens from a file or string. Definition: cfl_tokenreader.h:63 bool Eos(const std::string &rLabel) Peek a token and check whether it ends the specified section. Definition: cfl_tokenreader.cpp:439 void ReadEnd(const std::string &rLabel) Close the current section by matching the previous ReadBegin(). Definition: cfl_tokenreader.cpp:364 void ReadBegin(const std::string &rLabel) Open a section by specified label. Definition: cfl_tokenreader.cpp:249 A TokenWriter writes sequential tokens to a file, a string or stdout. Definition: cfl_tokenwriter.h:51 const std::string & StringValue(void) const Get string value of a name token. Definition: cfl_token.cpp:177 Base class of all libFAUDES objects that participate in the run-time interface. Definition: cfl_types.h:239 void Write(const Type *pContext=0) const Write configuration data to console. Definition: cfl_types.cpp:139 Virtual base class to define the interface for event io. Definition: iop_vdevice.h:261 static vDevice * FromTokenReader(TokenReader &rTr) Construct on heap from token reader. Definition: iop_vdevice.cpp:212 static vDevice * FromFile(const std::string &rFileName) Construct on heap from file. Definition: iop_vdevice.cpp:248 virtual void DoRead(TokenReader &rTr, const std::string &rLabel="", const Type *pContext=0) Token input, see Type::DRead for public wrappers. Definition: iop_vdevice.cpp:465 static xDevice * FromTokenReader(TokenReader &rTr) Construct on heap from token reader. Definition: iop_xdevice.cpp:90 bool lastCommandWasStart Current device state: remember last stop/down command. Definition: iop_xdevice.h:332 Time::Type CurrentTime(void) Report global fauDES-time Note: per convention we take the time of the first device inserted in xDevi... Definition: iop_xdevice.cpp:319 long int CurrentTimeMs(void) Report global fauDES-time Note: per convention we take the time of the first device inserted in xDevi... Definition: iop_xdevice.cpp:334 void Clear(void) Clear all configuarations and destroy existing devices. Definition: iop_xdevice.cpp:197 virtual void DoWriteConfiguration(TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const Write the device patrameters to a TokenWriter. Definition: iop_xdevice.cpp:365 static xDevice * FromFile(const std::string &rFileName) Construct on heap from file. Definition: iop_xdevice.cpp:101 std::map< Idx, int > mInputToDevice Compiled data: Input map to map input idx to device no. Definition: iop_xdevice.h:326 std::map< Idx, int > mOutputToDevice Compiled data: Output Map to map input idx to device no. Definition: iop_xdevice.h:329 std::vector< vDevice * >::const_iterator Iterator Iterator for const access to individual devices. Definition: iop_xdevice.h:58 virtual void DoReadConfiguration(TokenReader &rTr, const std::string &rLabel="", const Type *pContext=0) Actual method to read device configuration from tokenreader. Definition: iop_xdevice.cpp:403 Hardware access via comedi. iodevice for d3ripDART protocol and friends iodevice for d3ripURT protocol and friends Process image via modbus/tcp. Process image via serial line. Simple networked events via TCP/IP. Hardware access via comedi. Virtual device for interface definition std::string ExtractDirectory(const std::string &rFullPath) Extract directory from full path. Definition: cfl_helper.cpp:262 static volatile AutoRegisterType< xDevice > gRtiRegisterDeviceContainer("DeviceContainer") libFAUDES 2.32b --- 2024.03.01 --- c++ api documentaion by doxygen |