//File: DAISGroup.idl // Change history // DAIS RTF 1.1 6320 2004-10-01 CORBA 3 Home key word collision #ifndef _DAIS_GROUP_IDL #define _DAIS_GROUP_IDL #pragma prefix "omg.org" #include #include #include module DAIS { module DataAccess { module Group { exception DuplicateName {string reason;}; struct State { string name; unsigned long update_rate; boolean active; long time_bias; double percent_deadband; unsigned long locale_id; }; struct PublicGroupDescription { ResourceID id; State group_state; }; typedef sequence PublicGroupDescriptions; interface Manager : GroupEntry::Manager ,IO::AsyncIO ,IO::SyncIO ,IO::ConnectionPoint { State get_state (); unsigned long set_state ( in State group_state ) raises (DuplicateName); Manager clone ( in string name ) raises (DuplicateName); PublicGroupDescription clone_group_to_public ( in string name ) raises (DuplicateName); void destroy (); }; interface IHome //6320 { exception UnknownResourceID {string reason;}; PublicGroupDescriptions find_public_groups(); PublicGroupDescription find ( in ResourceID public_group ) raises (UnknownResourceID); Manager create_group ( in State group_state, out unsigned long revised_update_rate ) raises (DuplicateName); Manager clone_group_from_public ( in ResourceID public_group, in string name ) raises (DuplicateName, UnknownResourceID); void remove_public_group ( in ResourceID public_group ) raises (UnknownResourceID); };};};}; #endif // _DAIS_GROUP_IDL