The RtdRMP Base Class
The base class is abstract. It contains basic RMP functionality that must be inherited by any class that uses RMP (e.g. the ability to create/join RMP groups and transmit data). It also defines virtual functions for general IO that must be overloaded by the sub-classes. The most important methods are as follows:
-
join()
- joins the RMP group specified by the
groupName_
property,
-
group_send(char *, int)
- send the buffer (of given length) to the current group members,
-
detect(RMP *)
(virtual) - detection loop to get RMP events and process them as required,
-
handle_event(RMPEvent *)
(virtual) - event handler called by detection loop. Contains code for every possible RMP event, and acts according to the event type.
-
informUser(char *)(virtual)
- output a message to the user.
Please send questions or comments to abrighto@eso.org.
Copyright © 1998 ESO - European Southern Observatory