-
-
138 return number_of_services;
-
+
+
+
+
140 return number_of_services;
+
-
-
-
-
149 char ServiceID = FrameToAdd->getServideId();
-
150 ServiceBase* destinationService = services->getService_byID(ServiceID);
-
151 if (!destinationService){
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
153 if (!destinationService){
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
errorCodes
Enumeration for various error codes.
Definition Error.h:47
@ overflow
Send- or Receivestack reached max. size of items.
Definition Error.h:84
@ serviceNotFound
The Service-Id addressed by the frame was not found in the service-cluster.
Definition Error.h:72
+
+
content_type * get_content()
Get the address of the informations content of type content_type.
Definition Content.h:75
A class to manage and track error states using error codes.
Definition ErrorState.h:49
errorCodes getErrorState()
Get the currently active error-code.
Definition ErrorState.cpp:38
void raiseError(errorCodes code)
raises a new error by setting the given error-code as errorState
Definition ErrorState.cpp:33
Frame-Class as derived class from Content The derived classes define: -the conversion from a given pa...
Definition Frame.h:50
+
virtual uint8_t getServiceId()=0
Get the ServiceId, the PDU of the Frame belongs to (necessary for Service-multiplexing)....
Service-base-class to add class-functions to vtable.
Definition Service.h:42
virtual bool impart_pdu(String *pdu)=0
Add a new Content-Object created from a received payload to the services receive-Stack....
-
ServiceCluster-base-class to add class-functions to vtable.
Definition ServiceCluster.h:40
+
ServiceCluster-base-class to add class-functions to vtable.
Definition ServiceCluster.h:42
virtual ServiceBase * getService_byPos(uint8_t ServicePosition)=0
Get pointer to the service at a specific position in the cluster (positions starting by zero)
virtual errorCodes impartPdu(Frame *FrameToAdd)=0
Add the payload of the referenced Frame to the belonging Service.
-
virtual ~ServiceClusterBase()
Destroy the Service Cluster Base object.
Definition ServiceCluster.h:78
+
virtual ~ServiceClusterBase()
Destroy the Service Cluster Base object.
Definition ServiceCluster.h:80
virtual uint8_t getNumberOfServices() const =0
Get the total Number Of Services-objects associated to the cluster.
virtual ServiceBase * getService_byID(uint8_t ServiceID)=0
Get pointer to the service with the given service-ID by iterating through the associated services and...
-
The ServiceCluster provides functions to manage multiple services. The ServiceCluster is added to the...
Definition ServiceCluster.h:89
-
errorCodes impartPdu(Frame *FrameToAdd) override
Add the payload of the referenced Frame to the belonging Service (Multiplexing by Service-ID)
Definition ServiceCluster.h:148
-
ServiceCluster(ServiceBase *serviceList[number_of_services])
Construct a new Service Cluster object from associated services.
Definition ServiceCluster.h:98
-
uint8_t getNumberOfServices() const override
Get the total Number Of Services-objects associated to the cluster.
Definition ServiceCluster.h:137
-
ServiceBase * getService_byPos(uint8_t ServicePosition) override
Get pointer to the service at a specific position in the cluster (positions starting by zero)
Definition ServiceCluster.h:125
-
ServiceBase * getService_byID(uint8_t ServiceID) override
Get pointer to the service with the given service-ID by iterating through the associated services and...
Definition ServiceCluster.h:110
+
The ServiceCluster provides functions to manage multiple services. The ServiceCluster is added to the...
Definition ServiceCluster.h:91
+
errorCodes impartPdu(Frame *FrameToAdd) override
Add the payload of the referenced Frame to the belonging Service (Multiplexing by Service-ID)
Definition ServiceCluster.h:150
+
ServiceCluster(ServiceBase *serviceList[number_of_services])
Construct a new Service Cluster object from associated services.
Definition ServiceCluster.h:100
+
uint8_t getNumberOfServices() const override
Get the total Number Of Services-objects associated to the cluster.
Definition ServiceCluster.h:139
+
ServiceBase * getService_byPos(uint8_t ServicePosition) override
Get pointer to the service at a specific position in the cluster (positions starting by zero)
Definition ServiceCluster.h:127
+
ServiceBase * getService_byID(uint8_t ServiceID) override
Get pointer to the service with the given service-ID by iterating through the associated services and...
Definition ServiceCluster.h:112
Provides mock implementations of Arduino framework functions and classes for native builds.
Definition mockArduino.cpp:28
std::string String
Alias for std::string to simulate Arduino's String type.
Definition mockArduino.h:51
diff --git a/docs/html/_service_interface_8h__incl.map b/docs/html/_service_interface_8h__incl.map
index 414d457..770aab4 100644
--- a/docs/html/_service_interface_8h__incl.map
+++ b/docs/html/_service_interface_8h__incl.map
@@ -1,66 +1,68 @@
diff --git a/docs/html/_service_interface_8h__incl.md5 b/docs/html/_service_interface_8h__incl.md5
index f33bdfe..76d465c 100644
--- a/docs/html/_service_interface_8h__incl.md5
+++ b/docs/html/_service_interface_8h__incl.md5
@@ -1 +1 @@
-a3f9cea3f3e5ffa712d92e5cd3300f85
\ No newline at end of file
+2038e2b6fa440c34d2893362a3622751
\ No newline at end of file
diff --git a/docs/html/_service_interface_8h__incl.svg b/docs/html/_service_interface_8h__incl.svg
index f1fc348..e4c301a 100644
--- a/docs/html/_service_interface_8h__incl.svg
+++ b/docs/html/_service_interface_8h__incl.svg
@@ -5,19 +5,19 @@
-->