How to add dynamic attributes ?
|
|
---|---|
Hi I follow "HOW TO ADD DYNAMIC ATTRIBUTES TO A DEVICE CLASS"(http://www.tango-controls.org/resources/howto/how-add-dynamic-attributes-device-class/) to learn dynamic attribute, but i can't do it. In "HOW TO ADD DYNAMIC ATTRIBUTES TO A DEVICE CLASS" these is: Pogo generates method(s) named DynAttr::add_<Dyn attr class name>_dynamic_attribute(string att_name) which do this job for you. But i can't find DynAttr::add_<Dyn attr class name>_dynamic_attribute(string att_name)in code generated by Pogo! I use Pogo 8.4.5a on Ubuntu 14.04, what's the problem? Could anybody help me to use dynamic attributes in device? thanks |