diff options
Diffstat (limited to 'CIAO/ciao/CCM_Entity2Context.idl')
-rw-r--r-- | CIAO/ciao/CCM_Entity2Context.idl | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/CIAO/ciao/CCM_Entity2Context.idl b/CIAO/ciao/CCM_Entity2Context.idl new file mode 100644 index 00000000000..4ed01244408 --- /dev/null +++ b/CIAO/ciao/CCM_Entity2Context.idl @@ -0,0 +1,48 @@ +// $Id$ + +/** + * @@ Compile this file with: + * + * tao_idl -Gv -I ../.. -I ../../orbsvcs/orbsvcs \ + * -Wb,export_macro=CIAO_Export \ + * -Wb,export_include=CIAO_export.h \ + * -Wb,pre_include="ace/pre.h" \ + * -Wb,post_include="ace/post.h" \ + * CCM_Container_Ex.idl + */ + +//#define CIAO_HAS_IMPORT_KEYWORD + +#if !defined (CCM_ENTITY2CONTEXT_IDL) +#define CCM_ENTITY2CONTEXT_IDL + +#include "ciao/CCM_Session2Context.idl" +#include "ciao/CCM_EntityContext.idl" +#include "ciao/CCM_ComponentId.idl" + +// *************** Extended Container Interfaces *************** + +module Components +{ + typeprefix Components "omg.org"; + + local interface Entity2Context : EntityContext, CCM2Context + { + ComponentId get_component_id () + raises (IllegalState); + + ComponentId create_component_id (in FacetId target_facet, + in SegmentId target_segment, + in SegmentDescrSeq seq_descrs); + + ComponentId create_monolithic_component_id (in FacetId target_facet, + in StateIdValue sid); + + Object create_ref_from_cid (in CORBA::RepositoryId repid, + in ComponentId cid); + + ComponentId get_cid_from_ref (in Object objref) + raises (BadComponentReference); + }; +}; +#endif /* CCM_ENTITY2CONTEXT_IDL */ |