fxbox / adapters Goto Github PK
View Code? Open in Web Editor NEWThe API for defining and registering adapters for the Foxbox.
Home Page: http://fxbox.github.io/adapters/doc/foxbox_adapters/index.html
The API for defining and registering adapters for the Foxbox.
Home Page: http://fxbox.github.io/adapters/doc/foxbox_adapters/index.html
For the moment, tags live only in memory. We should be able to save them to disk. Basically, each id may be associated to a list of strings.
This means adding to manager::AdapterManager
methods
pub fn load(&self, path: String) -> Result<(), Error>;
pub fn save(&self, path: String) -> Result<(), Error>;
Then, when we perform the internal calls to add_service
, add_getter
or add_setter
, we should check in the in-memory list to find out if the service/getter/setter has tags waiting for it.
I'm not sure about the error type.
In a followup issue, we'll think about saving tags as they are added/removed, or associating tags to
We currently do not attempt to optimize selectors by tags. We should. For this purpose, we need to maintain tables service_by_tag
, getter_by_tag
, setter_by_tag
– and use them.
This would be very useful for combining real devices and simulated devices for tests.
As a bonus, we can basically reuse the code already present in tests/ for that.
We do not attempt to optimize selectors by ChannelKind. We should. For this purpose, we would need to maintain tables getter_by_kind
and setter_by_kind
– and use them.
Some selectors search by id. This could be optimized trivially, since we have maps indexed by id.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.