diff options
Diffstat (limited to 'ACE/ace/Monitor_Base.cpp')
-rw-r--r-- | ACE/ace/Monitor_Base.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/ACE/ace/Monitor_Base.cpp b/ACE/ace/Monitor_Base.cpp index a23f509eb9f..0e6295ad408 100644 --- a/ACE/ace/Monitor_Base.cpp +++ b/ACE/ace/Monitor_Base.cpp @@ -53,7 +53,7 @@ namespace ACE { if (this->data_.type_ == Monitor_Control_Types::MC_LIST) { - ACE_ERROR ((LM_ERROR, + ACELIB_ERROR ((LM_ERROR, ACE_TEXT ("receive: can't store numeric value - ") ACE_TEXT ("%s is a string type monitor\n"), this->name_.c_str ())); @@ -108,7 +108,7 @@ namespace ACE { if (this->data_.type_ != Monitor_Control_Types::MC_LIST) { - ACE_ERROR ((LM_ERROR, + ACELIB_ERROR ((LM_ERROR, ACE_TEXT ("receive: can't store string values - ") ACE_TEXT ("%s is a numeric type monitor\n"), this->name_.c_str ())); @@ -211,7 +211,7 @@ namespace ACE if (!mgr->admin ().monitor_point (this, time)) { - ACE_ERROR ((LM_ERROR, + ACELIB_ERROR ((LM_ERROR, "monitor point %s registration failed\n", this->name ())); } @@ -228,7 +228,7 @@ namespace ACE // is using malloc with placement, then free, which may bypass the // normal destructors. In any case, it happens only at shutdown // and there seems to be no memory leak. -// ACE_ERROR ((LM_ERROR, +// ACELIB_ERROR ((LM_ERROR, // "monitor point %s unregistration failed\n", // this->name ())); } @@ -241,7 +241,7 @@ namespace ACE || this->data_.type_ == Monitor_Control_Types::MC_GROUP || this->data_.type_ == Monitor_Control_Types::MC_LIST) { - ACE_ERROR_RETURN ((LM_ERROR, + ACELIB_ERROR_RETURN ((LM_ERROR, ACE_TEXT ("average: %s is wrong monitor type\n"), this->name_.c_str ()), 0); @@ -261,7 +261,7 @@ namespace ACE || this->data_.type_ == Monitor_Control_Types::MC_GROUP || this->data_.type_ == Monitor_Control_Types::MC_LIST) { - ACE_ERROR_RETURN ((LM_ERROR, + ACELIB_ERROR_RETURN ((LM_ERROR, ACE_TEXT ("sum_of_squares: %s ") ACE_TEXT ("is wrong monitor type\n"), this->name_.c_str ()), @@ -278,7 +278,7 @@ namespace ACE { if (this->data_.type_ == Monitor_Control_Types::MC_GROUP) { - ACE_ERROR_RETURN ((LM_ERROR, + ACELIB_ERROR_RETURN ((LM_ERROR, ACE_TEXT ("count: %s is a monitor group\n"), this->name_.c_str ()), 0UL); @@ -297,7 +297,7 @@ namespace ACE if (this->data_.type_ == Monitor_Control_Types::MC_GROUP || this->data_.type_ == Monitor_Control_Types::MC_LIST) { - ACE_ERROR_RETURN ((LM_ERROR, + ACELIB_ERROR_RETURN ((LM_ERROR, ACE_TEXT ("minimum_sample: %s ") ACE_TEXT ("is wrong monitor type\n"), this->name_.c_str ()), @@ -315,7 +315,7 @@ namespace ACE if (this->data_.type_ == Monitor_Control_Types::MC_GROUP || this->data_.type_ == Monitor_Control_Types::MC_LIST) { - ACE_ERROR_RETURN ((LM_ERROR, + ACELIB_ERROR_RETURN ((LM_ERROR, ACE_TEXT ("maximum_sample: %s ") ACE_TEXT ("is wrong monitor type\n"), this->name_.c_str ()), @@ -333,7 +333,7 @@ namespace ACE if (this->data_.type_ == Monitor_Control_Types::MC_GROUP || this->data_.type_ == Monitor_Control_Types::MC_LIST) { - ACE_ERROR_RETURN ((LM_ERROR, + ACELIB_ERROR_RETURN ((LM_ERROR, ACE_TEXT ("last_sample: %s ") ACE_TEXT ("is wrong monitor type\n"), this->name_.c_str ()), @@ -352,7 +352,7 @@ namespace ACE if (this->data_.type_ != Monitor_Control_Types::MC_LIST) { - ACE_ERROR ((LM_ERROR, + ACELIB_ERROR ((LM_ERROR, ACE_TEXT ("get_list: %s is not a ") ACE_TEXT ("list monitor type\n"), this->name_.c_str ())); |