Changeset 219 for trunk/nom/class_c
- Timestamp:
- Feb 3, 2007, 6:59:37 PM (19 years ago)
- Location:
- trunk/nom/class_c
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/nom/class_c/nomcls.c
r210 r219 66 66 } 67 67 68 NOM_Scope CORBA_Object NOMLINK impl_NOMClass_nomNew(NOMClass* nomSelf, CORBA_Environment *ev) 68 /** 69 \brief Function which implements the nomNew() method of NOMClass. 70 */ 71 NOM_Scope PNOMObject NOMLINK impl_NOMClass_nomNew(NOMClass* nomSelf, CORBA_Environment *ev) 69 72 { 70 73 NOMClassData* nomThis=NOMClassGetData(nomSelf); … … 87 90 } 88 91 89 NOM_Scope CORBA_Object NOMLINK impl_NOMClass_nomRenewNoInit(NOMClass* nomSelf, 90 const CORBA_Object nomObj, 91 CORBA_Environment *ev) 92 /** 93 \brief Function which implements the nomRenewNoInit() method of NOMClass. 94 */ 95 NOM_Scope PNOMObject NOMLINK impl_NOMClass_nomRenewNoInit(NOMClass* nomSelf, 96 const gpointer nomObj, 97 CORBA_Environment *ev) 92 98 { 93 99 NOMClassPriv *ncp; … … 116 122 } 117 123 118 NOM_Scope CORBA_Object NOMLINK impl_NOMClass_nomRenew(NOMClass* nomSelf, const CORBA_Object nomObj, 119 CORBA_Environment *ev) 124 /** 125 \brief Function which implements the nomRenew() method of NOMClass. 126 */ 127 NOM_Scope PNOMObject NOMLINK impl_NOMClass_nomRenew(NOMClass* nomSelf, const gpointer nomObj, 128 CORBA_Environment *ev) 120 129 { 121 130 _nomRenewNoInit(nomSelf, nomObj, NULLHANDLE); … … 128 137 129 138 130 NOM_Scope CORBA_string NOMLINK impl_NOMClass_nomAllocate(NOMClass* nomSelf, const CORBA_long ulSize, 139 /** 140 \brief Function which implements the nomAllocate() method of NOMClass. 141 */ 142 NOM_Scope gpointer NOMLINK impl_NOMClass_nomAllocate(NOMClass* nomSelf, const CORBA_long ulSize, 131 143 CORBA_Environment *ev) 132 144 { … … 136 148 } 137 149 150 /** 151 Function which implements the nomGetName() method of NOMClass. 152 */ 138 153 NOM_Scope CORBA_string NOMLINK impl_NOMClass_nomGetName(NOMClass* nomSelf, CORBA_Environment *ev) 139 154 { … … 142 157 143 158 144 NOM_Scope void NOMLINK impl_NOMClass_nomDeallocate(NOMClass* nomSelf, const CORBA_char * memptr, CORBA_Environment *ev) 159 /** 160 \brief Function which implements the nomDeallocate() method of NOMClass. 161 */ 162 NOM_Scope void NOMLINK impl_NOMClass_nomDeallocate(NOMClass* nomSelf, const gpointer memptr, CORBA_Environment *ev) 145 163 { 146 164 NOMFree((nomToken)memptr); … … 148 166 149 167 168 /** 169 \brief Function which implements the nomSetObjectCreateInfo() method of NOMClass. 170 */ 150 171 NOM_Scope void NOMLINK impl_NOMClass_nomSetObjectCreateInfo(NOMClass* nomSelf, const gpointer ncpObject, 151 172 CORBA_Environment *ev) … … 159 180 } 160 181 182 /** 183 \brief Function which implements the nomGetObjectCreateInfo() method of NOMClass. 184 */ 161 185 NOM_Scope gpointer NOMLINK impl_NOMClass_nomGetObjectCreateInfo(NOMClass* nomSelf, CORBA_Environment *ev) 162 186 { … … 166 190 } 167 191 192 /** 193 \brief Function which implements the nomClassReady() method of NOMClass. 194 */ 168 195 NOM_Scope void NOMLINK impl_NOMClass_nomClassReady(NOMClass* nomSelf, CORBA_Environment *ev) 169 196 { -
trunk/nom/class_c/nomobj.c
r210 r219 46 46 #include "nomobj.ih" 47 47 48 /** 48 49 50 \brief This function implements the method nomInit() of class NOMObject. 51 */ 49 52 NOM_Scope void NOMLINK impl_NOMObject_nomInit(NOMObject *nomSelf, CORBA_Environment *ev) 50 53 { … … 53 56 } 54 57 58 /** 59 60 \brief This function implements the method nomUnInit() of class NOMObject. 61 */ 55 62 NOM_Scope void NOMLINK impl_NOMObject_nomUnInit(NOMObject *nomSelf, CORBA_Environment *ev) 56 63 { … … 61 68 } 62 69 70 /** 71 72 \brief This function implements the method nomGetSize() of class NOMObject. 73 */ 63 74 NOM_Scope CORBA_long NOMLINK impl_NOMObject_nomGetSize(NOMObject* nomSelf, CORBA_Environment *ev) 64 75 { … … 73 84 } 74 85 86 /** 87 88 \brief This function implements the method delete() of class NOMObject. 89 90 It calls nomUnInit() to give the object a chance of freeing system resources. Afterwards 91 the memory occupied by the object is given back to the system and the object is not 92 accessible anymore. 93 */ 75 94 NOM_Scope void NOMLINK impl_NOMObject_delete(NOMObject* nomSelf, CORBA_Environment *ev) 76 95 { … … 88 107 } 89 108 90 /* 91 Gets the class object of this object. 92 */ 109 /** 110 111 \brief This function implements the method nomGetClass() of class NOMObject. 112 It returns a pointer to the class object of this object. 113 114 \param nomSelf The pointer to the object. 115 \param ev Environment pointer or NULL. 116 \retval PNOMClass A pointer to the class object for this object. This can never be NULL. 117 */ 93 118 NOM_Scope PNOMClass NOMLINK impl_NOMObject_nomGetClass(NOMObject* nomSelf, CORBA_Environment *ev) 94 119 { … … 98 123 } 99 124 100 /* 101 Create a new class of the kind the caller is. This method ensures that subclasses 102 are properly handled without the need to override this method in every subclass. 125 /** 126 127 \brief This function implements the method new() of class NOMObject. 128 129 Create a new class of the kind the caller is. This method ensures that subclassing 130 is properly handled without the need to override this method in every subclass. 131 132 This method will get the class object of nomSelf () which may be any subclass 133 of NOMObject) and call nomNew() on it creating 134 a new object which has exactly the same class hierarchy as nomSelf. 103 135 */ 104 136 NOM_Scope PNOMObject NOMLINK impl_NOMObject_new(NOMObject* nomSelf, CORBA_Environment *ev)
Note:
See TracChangeset
for help on using the changeset viewer.