18 #include <boost/archive/iterators/base64_from_binary.hpp> 19 #include <boost/archive/iterators/insert_linebreaks.hpp> 20 #include <boost/archive/iterators/transform_width.hpp> 21 #include <boost/archive/iterators/ostream_iterator.hpp> 30 return "JPEG_URI_Stream";
59 streams.insert( std::pair<void*,InsituConnectorGroup*>(message->
reference,message->
group));
60 uint8_t* dummy = (uint8_t*)malloc(1);
63 printf(
"URIImageConnector: Openend URI JPEG Stream\n");
67 auto it = streams.begin();
68 while (it != streams.end())
70 auto next_it = std::next(it);
74 printf(
"URIImageConnector: Closed Stream\n");
81 for (
auto it = streams.begin(); it != streams.end(); it++)
83 if (it->second == message->
group)
87 if ( json_object_get( message->
json,
"payload" ) == NULL)
88 json_object_set( message->
json,
"payload", message->
payload );
ImageBufferContainer * clientGetMessage()
errorCode clientSendMessage(ImageBufferContainer *message)
InsituConnectorGroup * group
errorCode init(int minport, int maxport)
pthread_mutex_t json_mutex
boolean isaac_jpeg_empty_output_buffer(j_compress_ptr cinfo)
void isaac_jpeg_term_destination(j_compress_ptr cinfo)
pthread_mutex_t payload_mutex
void isaac_init_destination(j_compress_ptr cinfo)