1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
|
#ifndef _UMLBASEONSIGNALACTION_H
#define _UMLBASEONSIGNALACTION_H
#include "UmlActivityAction.h"
#include <qcstring.h>
class UmlBaseOnSignalAction : public UmlActivityAction {
protected:
// the constructor, do not call it yourself !!!!!!!!!!
UmlBaseOnSignalAction(void * id, const QCString & s) : UmlActivityAction(id, s) {
}
public:
// return the signal
const QCString & signal();
// set the signal
//
// On error return FALSE in C++, produce a RuntimeException in Java
bool set_Signal(const char * v);
#ifdef WITHCPP
// return the signal in C++
const QCString & cppSignal();
// set the signal in C++
//
// On error return FALSE in C++, produce a RuntimeException in Java
bool set_CppSignal(const char * v);
#endif
#ifdef WITHJAVA
// return the signal in Java
const QCString & javaSignal();
// set the signal in Java
//
// On error return FALSE in C++, produce a RuntimeException in Java
bool set_JavaSignal(const char * v);
#endif
// to unload the object to free memory, it will be reloaded automatically
// if needed. Recursively done for the sub items if 'rec' is TRUE.
//
// if 'del' is true the sub items are deleted in C++, and removed from the
// internal dictionnary in C++ and Java (to allow it to be garbaged),
// you will have to call Children() to re-access to them
virtual void unload(bool = FALSE, bool = FALSE);
private:
QCString _signal;
#ifdef WITHCPP
QCString _cpp_signal;
#endif
#ifdef WITHJAVA
QCString _java_signal;
#endif
protected:
virtual void read_uml_();
#ifdef WITHCPP
virtual void read_cpp_();
#endif
#ifdef WITHJAVA
virtual void read_java_();
#endif
};
#endif
|