47 #ifndef _MIRA_SERVICELEVEL_H_ 48 #define _MIRA_SERVICELEVEL_H_ 51 #include <boost/algorithm/string/replace.hpp> 74 template<
typename Reflector>
79 r.member(
"Codecs",
codecs,
"", std::list<BinarySerializerCodecPtr>());
91 r.
member(
"Codecs",
codecs,
"", std::list<BinarySerializerCodecPtr>());
96 std::list<BinarySerializerCodecPtr>
codecs;
114 template<
typename Reflector>
139 template<
typename Reflector>
149 boost::replace_all(
type,
"(",
"<");
150 boost::replace_all(
type,
"[",
"<");
151 boost::replace_all(
type,
"{",
"<");
153 boost::replace_all(
type,
")",
">");
154 boost::replace_all(
type,
"]",
">");
155 boost::replace_all(
type,
"}",
">");
QoS management information for channels.
Definition: ServiceLevel.h:62
void reflect(Reflector &r)
Definition: ServiceLevel.h:115
void reflect(XMLDeserializer &r)
Definition: ServiceLevel.h:89
Definition: ServiceLevel.h:69
ServiceLevel by channel name.
Definition: ServiceLevel.h:102
Definition: ServiceLevel.h:68
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
std::string Typename
Definition: Typename.h:60
void member(const char *name, T &member, const char *comment, ReflectCtrlFlags flags=REFLECT_CTRLFLAG_NONE)
Definition: RecursiveMemberReflector.h:862
#define MIRA_REFLECT_BASE(reflector, BaseClass)
Macro that can be used to reflect the base class easily.
Definition: ReflectorInterface.h:912
Setter< T > setter(void(*f)(const T &))
Creates a Setter for global or static class methods taking the argument by const reference.
Definition: GetterSetter.h:443
Duration interval
Definition: ServiceLevel.h:98
ServiceLevel by channel type.
Definition: ServiceLevel.h:130
TypeServiceLevel(const Typename &type)
Definition: ServiceLevel.h:136
ServiceLevel(const std::string &channel, const ServiceLevelBase &other)
Definition: ServiceLevel.h:111
uint8 VersionType
Definition: ReflectorInterface.h:72
std::string channelID
Definition: ServiceLevel.h:126
ConnectionType connectionType
Definition: ServiceLevel.h:97
PropertyHint type(const std::string &t)
Sets the attribute "type" to the specified value.
Definition: PropertyHint.h:295
sec_type seconds() const
Returns normalized number of seconds (0..59)
Definition: Time.h:280
Use this class to represent time durations.
Definition: Time.h:106
ConnectionType
Definition: ServiceLevel.h:66
ServiceLevel()
Definition: ServiceLevel.h:106
Tag class used as parameter to ReflectorInterface::version() etc.
Definition: ReflectorInterface.h:80
void reflect(Reflector &r)
Definition: ServiceLevel.h:75
void setChannelType(Typename type)
Definition: ServiceLevel.h:148
ServiceLevel(const std::string &channel)
Definition: ServiceLevel.h:108
void reflect(Reflector &r)
Definition: ServiceLevel.h:140
TypeServiceLevel()
Definition: ServiceLevel.h:134
ServiceLevelBase()
Definition: ServiceLevel.h:72
std::list< BinarySerializerCodecPtr > codecs
Definition: ServiceLevel.h:96
Typename channelType
Definition: ServiceLevel.h:160
Deserializer for serializing objects from XML format.
Definition: XMLSerializer.h:313