NEOCCA bindings Specification  0.2.8
StringConsumerPort.hh
Go to the documentation of this file.
1 #ifndef __neoSTRINGCONSUMERPORT_H__
2 #define __neoSTRINGCONSUMERPORT_H__
3 
4 
5 namespace neo {
6 namespace cca {
7 namespace ports {
8 
14 class StringConsumerPort : public virtual ::neo::cca::Port {
15 private:
16 public:
17 
19  virtual ~StringConsumerPort(){}
20 
22  virtual void setString(const std::string & s)= 0;
23 };
24 
25 
26 } // end namespace ports
27 } // end namespace cca
28 } // end namespace neo
29 
30 #endif // __neoSTRINGCONSUMERPORT_H__
virtual void setString(const std::string &s)=0
Pass a string to the component.
virtual ~StringConsumerPort()
obligatory vdtor
Definition: StringConsumerPort.hh:19
A pure-virtual tag interface to identify a function set capable of being exported to or imported from...
Definition: Port.hh:17
An example port for a standard interface for passing a string to a component.
Definition: StringConsumerPort.hh:14
This is neoclassic – the ::classic::gov::cca headers updated to be similar to the official CCA speci...
Definition: neocca.hh:62