service interface stream enhancements
This commit is contained in:
@ -17,14 +17,15 @@ extern std::ostream error;
|
||||
}
|
||||
|
||||
|
||||
class ServiceInterfaceStream : public std::basic_ostream< char, std::char_traits< char > > {
|
||||
class ServiceInterfaceStream :
|
||||
public std::basic_ostream<char, std::char_traits<char>> {
|
||||
protected:
|
||||
ServiceInterfaceBuffer buf;
|
||||
public:
|
||||
ServiceInterfaceStream( std::string set_message, uint16_t port = 1234 );
|
||||
ServiceInterfaceStream( std::string set_message,
|
||||
bool addCrToPreamble = false, uint16_t port = 1234);
|
||||
void setActive( bool );
|
||||
};
|
||||
|
||||
|
||||
|
||||
#endif /* FRAMEWORK_SERVICEINTERFACE_SERVICEINTERFACESTREAM_H_ */
|
||||
|
Reference in New Issue
Block a user