'Classic' CCA c++ binding (ccaffeine-only) 0.5.7
eg/ccaComponent/TimeProducerPort.h
1#ifndef __TIMEPRODUCERPORT_H__
2#define __TIMEPRODUCERPORT_H__
3
4
5namespace classic {
6
7namespace gov {
8 namespace cca {
9
10
12class TimeProducerPort : public virtual Port {
13 public:
17 virtual CFREE char* getTime() = 0;
18};
19
20 } ENDSEMI // cca
21} ENDSEMI //gov
22} ENDSEMI //CLASSIC
23
24
25#endif //__TIMEPRODUCERPORT_H__
A tag interface to identify an interface capable of being exported to or imported from a CCA componen...
Definition cca.h:92
An example port for an interface for providing a time service.
Definition eg/ccaComponent/TimeProducerPort.h:12
virtual ~TimeProducerPort()
obligatory vdtor
Definition eg/ccaComponent/TimeProducerPort.h:15
virtual CFREE char * getTime()=0
Produce the time as a string.
To deal with babel taking over this same namespace we name this one "classic.
Definition SimpleStamper.h:7