コード例 #1
0
ファイル: TypeSupport.cs プロジェクト: shizhexu/opensplice
 public TypeSupportFactory()
 {
    deleteEntityAction = DeleteEntityAction;
 }
コード例 #2
0
 /* This is the default constructor that is to be used by all DDS
  * classes that have a corresponding Gapi.Create<Entity> operation.
  * The constuctor of these classes should only be invoked AFTER the
  * gapi has created the corresponding gapi handles.
  */
 protected SacsSuperClass(IntPtr gapiPtr)
 {
     this.deleteEntityAction = DeleteEntityAction;
     this.SetPeer(gapiPtr, false);
 }
コード例 #3
0
 /* This constructor is only used by all DDS classes that have a
  * default constructor (i.e. TypeSupport, WaitSet, GuardCondition).
  * It is due to the fact that the Gapi.<Entity>.alloc() needs to
  * be called in order to get a gapi handle, but this cannot be done
  * in the constructor in this stage.
  * The caller must call SetPeer and pass the gapi handle as soon as
  * he has obtained it.
  */
 internal SacsSuperClass()
 {
     this.deleteEntityAction = null;
 }
コード例 #4
0
 public TypeSupportFactory()
 {
     deleteEntityAction = DeleteEntityAction;
 }
コード例 #5
0
ファイル: SacsSuperClass.cs プロジェクト: xrl/opensplice_dds
 /* This is the default constructor that is to be used by all DDS
  * classes that have a corresponding Gapi.Create<Entity> operation.
  * The constuctor of these classes should only be invoked AFTER the
  * gapi has created the corresponding gapi handles.
  */
 protected SacsSuperClass(IntPtr gapiPtr)
 {
     this.deleteEntityAction = DeleteEntityAction;
     this.SetPeer(gapiPtr, false);
 }
コード例 #6
0
ファイル: SacsSuperClass.cs プロジェクト: xrl/opensplice_dds
 /* This constructor is only used by all DDS classes that have a
  * default constructor (i.e. TypeSupport, WaitSet, GuardCondition).
  * It is due to the fact that the Gapi.<Entity>.alloc() needs to
  * be called in order to get a gapi handle, but this cannot be done
  * in the constructor in this stage.
  * The caller must call SetPeer and pass the gapi handle as soon as
  * he has obtained it.
  */
 internal SacsSuperClass()
 {
     this.deleteEntityAction = null;
 }