'Classic' CCA c++ binding (ccaffeine-only) 0.5.7
SimpleStamper.h
1#ifndef __SIMPLESTAMPSTRING_H__
2#define __SIMPLESTAMPSTRING_H__
3
7namespace classic {
8
9namespace gov {
10 namespace cca {
11 namespace eg {
12
13
18
19public:
20
23
25 virtual ~SimpleStamper();
26
29
31 virtual void setString(const char* s);
32
33private:
36};
37
38 } ENDSEMI // eg
39 } ENDSEMI // cca
40} ENDSEMI //gov
41} ENDSEMI //CLASSIC
42
43#endif // __SIMPLESTAMPSTRING_H__
Component object model that all Components must implement.
Definition cca.h:234
The handle through which the component communicates with its containing framework.
Definition cca.h:142
An example port for a standard interface for passing a string to a component.
Definition eg/ccaComponent/StringConsumerPort.h:17
An example component that takes an input string and stamps it with a time string, then puts it on out...
Definition SimpleStamper.h:17
SimpleStamper()
Spec required null constructor.
virtual void setString(const char *s)
Implements StringConsumerPort.
::classic::gov::cca::Services * svc
holding on to the svc from setServices, to answer setSTring with.
Definition SimpleStamper.h:35
virtual ~SimpleStamper()
required virtualness on destructor.
virtual void setServices(::classic::gov::cca::Services *svc)
Implements classic::gov::cca::Component.
To deal with babel taking over this same namespace we name this one "classic.
Definition SimpleStamper.h:7