diff options
author | thrall <thrall@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-10-22 02:38:48 +0000 |
---|---|---|
committer | thrall <thrall@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-10-22 02:38:48 +0000 |
commit | 149a8b4fc5cad4b929aed7725d2faf38f2178ec7 (patch) | |
tree | f0503a3404fa9781b4a2ab6134713ee72b3c5786 | |
parent | 14d0aa925941ccb6b9184b4cb19200554a73bf0b (diff) | |
download | ATCD-149a8b4fc5cad4b929aed7725d2faf38f2178ec7.tar.gz |
Initialize members in constructors
-rw-r--r-- | TAO/orbsvcs/examples/RtEC/ECConfigurator/SyntaxTree.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/TAO/orbsvcs/examples/RtEC/ECConfigurator/SyntaxTree.h b/TAO/orbsvcs/examples/RtEC/ECConfigurator/SyntaxTree.h index 2b87e77861e..f1ac83ecf87 100644 --- a/TAO/orbsvcs/examples/RtEC/ECConfigurator/SyntaxTree.h +++ b/TAO/orbsvcs/examples/RtEC/ECConfigurator/SyntaxTree.h @@ -156,6 +156,10 @@ class ECConfiguration : public VisitableSyntax { public: + ECConfiguration (void) + :driver(NULL) + {} + virtual ~ECConfiguration (void) {} @@ -181,6 +185,15 @@ class Event : public VisitableSyntax { public: + Event (void) + : period(NULL) + , phase(NULL) + , criticality(NULL) + , importance(NULL) + , worstexecution(NULL) + , typicalexecution(NULL) + {} + virtual ~Event (void) {} @@ -253,6 +266,11 @@ class Timeout : public VisitableSyntax { public: + Timeout (void) + : period(NULL) + , phase(NULL) + {} + virtual ~Timeout (void) {} @@ -278,6 +296,10 @@ class LocalEventChannel : public VisitableSyntax { public: + LocalEventChannel (void) + : schedulingstrategy(NULL) + {} + virtual ~LocalEventChannel (void) {} @@ -304,6 +326,10 @@ class RemoteEventChannel : public VisitableSyntax { public: + RemoteEventChannel (void) + : iorfile(NULL) + {} + virtual ~RemoteEventChannel (void) {} @@ -354,6 +380,11 @@ class Consumer : public VisitableSyntax { public: + Consumer (void) + : subscriptions(NULL) + , dependants(NULL) + {} + virtual ~Consumer (void) {} @@ -421,6 +452,11 @@ class Supplier : public VisitableSyntax { public: + Supplier (void) + : publications(NULL) + , triggers(NULL) + {} + virtual ~Supplier (void) {} @@ -489,6 +525,11 @@ class TestDriver : public Driver { public: + TestDriver (void) + : startcondition(NULL) + , stopcondition(NULL) + {} + virtual ~TestDriver (void) {} @@ -511,6 +552,10 @@ class StartCondition : public VisitableSyntax { public: + StartCondition (void) + : time(NULL) + {} + virtual ~StartCondition (void) {} @@ -539,6 +584,10 @@ class StopCondition : public VisitableSyntax { public: + StopCondition (void) + : value(NULL) + {} + virtual ~StopCondition (void) {} |