|
ErrorComponent − |
|
#include <acsexmplErrorComponentImpl.h> Inherits acscomponent::ACSComponentImpl. |
|
Public Member Functions |
|
ErrorComponent (const ACE_CString &name, maci::ContainerServices *containerServices) |
|
virtual ~ErrorComponent () |
|
virtual void displayMessage () |
|
virtual void badMethod (CORBA::Short depth) |
|
virtual void exceptionFromCompletion (CORBA::Short depth) |
|
virtual void typeException (CORBA::Short depth) |
|
virtual void corbaSystemException () |
|
virtual ACSErr::Completion * completionFromException (CORBA::Short depth) |
|
virtual ACSErr::Completion * completionFromCompletion (CORBA::Short depth) |
|
ACSErr::Completion * completionOnStack (CORBA::Short depth) |
|
void outCompletion (ACSErr::Completion_out comp) |
|
void generateSIGFPE (CORBA::Short way) |
|
void generateSIGSEGV (CORBA::Short way) |
|
void sleepingCmd (CORBA::Short nb_seconds) |
|
Private Member Functions |
|
virtual ACSErr::CompletionImpl * createCompletion (unsigned short depth) |
|
virtual void buildErrorTrace (unsigned short depth) |
|
This class shows how to deal with errors in components. All components should inherit from CharacteristicComponentImpl or it’s superclass, ACSComponentImpl, to remain compatiable with ACS tools such as objexp (i.e., a GUI used to manipulate components). This class also derives from POA_acsexmplErrorComponent::ErrorComponent which is a class automatically generated by CORBA from ErrorComponent’s IDL file. Version: |
|
ErrorComponent::ErrorComponent (const ACE_CString & name, maci::ContainerServices * containerServices) Constructor |
|
Parameters: |
|
poa Poa which will activate this and also all
other components. Developers need not be concerned with what
a PortableServer does...just pass it to the
superclass’s constructor. |
|
Generated automatically by Doxygen for ACS-2016.2 C++ API from the source code. |