Esempio n. 1
0
/*     ErrorInfo
 *     ErrorInfo__alloc (
 *         void);
 */
DDS_ErrorInfo
DDS_ErrorInfo__alloc (
    void
)
{
    gapi_errorInfo _this;

    _this = gapi_errorInfo__alloc();

    return _this;
}
Esempio n. 2
0
DDS::ErrorInfo::ErrorInfo( void )
{
    DDS::ccpp_UserData_ptr myUD;
    _gapi_self = gapi_errorInfo__alloc();
    if (_gapi_self) {
        myUD = new DDS::ccpp_UserData(this);
        if (myUD) {
            gapi_object_set_user_data(_gapi_self, dynamic_cast<DDS::Object_ptr>(myUD),
                                      ccpp_CallBack_DeleteUserData,NULL);
        } else {
            OS_REPORT(OS_ERROR, "CCPP", 0, "Unable to allocate memory");
        }
    }
}