ISISComputingGroup / lewis-ess

Let's write intricate simulators!
GNU General Public License v3.0
21 stars 19 forks source link

Allow PV to expose methods in addition to properties #211

Closed MichaelWedel closed 7 years ago

MichaelWedel commented 7 years ago

Like for Cmd in adapters.stream, it should be possible to expose things that are not defined on the device or the interface as properties. That might for example be getter/setter pairs or even other callables with a compatible signature. This will make it easier to create EPICS interfaces for "arbitrary things".

The binding step should still result in the same BoundPV so that the adapter code does not need to be modified.

MichaelWedel commented 7 years ago

After some playing around and discussions, I reworded the issue. Now it makes more sense for the current scope of Lewis. Might be revisited at a later stage.