20#define CCA_NAMESPACE_ENDSEMICOLON
34#define CLASSIC_CCA_PURE
36#define CLASSIC_CCA_PURE = 0
69 static CONST
char *
id();
107 virtual CONST
char*
getType() CONST CLASSIC_CCA_PURE;
112 virtual CONST
char*
getName() CONST CLASSIC_CCA_PURE;
175 virtual void releasePort(
const std::string & name) CLASSIC_CCA_PURE;
188 virtual int registerUsesPort(
const std::string & portName,
const std::string & portType) CLASSIC_CCA_PURE;
212 virtual int addProvidesPort(
Port *inPort,
const std::string & portName,
const std::string & portType) CLASSIC_CCA_PURE;
246} CCA_NAMESPACE_ENDSEMICOLON
247} CCA_NAMESPACE_ENDSEMICOLON
248} CCA_NAMESPACE_ENDSEMICOLON
An opaque reference to a Component.
Definition cca.h:122
virtual ~ComponentID()
obligatory virtual destructor
Definition cca.h:125
virtual CFREE char * toString() CLASSIC_CCA_PURE
Produce a string that, within the current framework, that uniquely defines this component reference.
Component object model that all Components must implement.
Definition cca.h:234
virtual void setServices(Services *cc) CLASSIC_CCA_PURE
The components containing framework provides services through the Services interface.
virtual ~Component()
obligatory virtual destructor
Definition cca.h:237
An interface (deprecated) that describes a Port.
Definition cca.h:100
virtual CONST char * getProperty(char *name) CLASSIC_CCA_PURE
Returns the string value for this property, or 0 if it is undefined.
virtual CONST char * getName() CONST CLASSIC_CCA_PURE
Returns the instance name for this Port.
virtual CONST char * getType() CONST CLASSIC_CCA_PURE
Returns the type for this Port.
virtual ~PortInfo()
obligatory virtual destructor
Definition cca.h:103
A tag interface to identify an interface capable of being exported to or imported from a CCA componen...
Definition cca.h:92
virtual ~Port()
obligatory virtual destructor
Definition cca.h:95
The handle through which the component communicates with its containing framework.
Definition cca.h:142
virtual void removeProvidesPort(CONST char *name) CLASSIC_CCA_PURE
Notifies the framework that a previously exported Port is no longer available for use.
virtual void removeProvidesPort(const std::string &name) CLASSIC_CCA_PURE
always returns 0.
virtual void releasePort(const std::string &name) CLASSIC_CCA_PURE
stl version of releaseport
virtual Port * getPort(CONST char *name) CLASSIC_CCA_PURE
Fetch a port from the framework.
virtual Port * getPort(const std::string &name) CLASSIC_CCA_PURE
stl version of getport
virtual int addProvidesPort(Port *inPort, const std::string &portName, const std::string &portType) CLASSIC_CCA_PURE
always returns 0.
virtual int unregisterUsesPort(const std::string &name) CLASSIC_CCA_PURE
always returns 0.
virtual ~Services()
obligatory virtual destructor
Definition cca.h:145
virtual int registerUsesPort(const std::string &portName, const std::string &portType) CLASSIC_CCA_PURE
always returns 0.
virtual int registerUsesPort(PortInfo *name_and_type) CLASSIC_CCA_PURE
Notifies the framework that a port described by PortInfo may be used by this component.
virtual int unregisterUsesPort(CONST char *name) CLASSIC_CCA_PURE
Notify the framework that a Port, previously registered by this component, is no longer desired.
virtual void releasePort(CONST char *name) CLASSIC_CCA_PURE
Free's the port indicated by the instance name for modification by the component's containing framewo...
virtual CDELETE ComponentID * getComponentID() CLASSIC_CCA_PURE
Get a reference to the component which this Services object belongs.
virtual PortInfo * createPortInfo(CONST char *name, CONST char *type, CONST char **properties) CLASSIC_CCA_PURE
Creates a PortInfo to be used in subsequent calls to describe a Port.
virtual int addProvidesPort(Port *inPort, PortInfo *name) CLASSIC_CCA_PURE
Exports a Port implemented by this component to the framework.
UNADOPTED: A class to support the runtime introspection of the CCA version.
Definition cca.h:64
static CONST int Major()
@ Revision numbering scheme will be rigorously followed after 1_0_0.
static CONST char * name()
The descriptive source release string.
static CONST int Minor()
Minor revision; increments with binary incompatible changes in well known ports, including changes in...
static CONST char * id()
The dot notation release number string; major.minor.patch.
static CONST int Patch()
Patch revision; binary compatible changes, such as addition of new common port definitions.
To deal with babel taking over this same namespace we name this one "classic.
Definition SimpleStamper.h:7