Class cvedevice
Functions
Function | summury |
---|---|
__init__(self, classifier=None, libraryitem=None) | A cvedevice is any software or hardware interacting with the model (more…) |
exported(self) | |
is_compatible(self) | must check the instance to be compatible with the library item (more…) |
is_connected(self) | |
add_sub_behavior(self, thedevice) | add a device in the sub behavior list (more…) |
remove_sub_behavior(self, thedevice) | add a device in the sub behavior list (more…) |
Methods desciption :
init
def __init__(self, classifier=None, libraryitem=None)
A cvedevice is any software or hardware interacting with the model It is identified with : a role : a string identifying the type of object : ie holographic display, or data-glove a name : the name of the instance : the name of the system itself. The cvedevice may be a piece of software which take in charge a behavior of the model by analysing the events and replying with model correction. It is then an agent respect to the server mode.
When remotely connected it has three more attributes : connectuid : to be uniquely identified by the server connected : a dynamic status pause : a complementary dynamic status As dynamic parameters these attributes are not permanently saved and thus are note declared in the exported method
exported
def exported(self)
is_compatible
def is_compatible(self)
must check the instance to be compatible with the library item
is_connected
def is_connected(self)
add_sub_behavior
def add_sub_behavior(self, thedevice)
add a device in the sub behavior list
remove_sub_behavior
def remove_sub_behavior(self, thedevice)
add a device in the sub behavior list