NO-OP: re-indent
This commit is contained in:
parent
77845f6019
commit
07bcdc7f0a
|
@ -45,7 +45,7 @@ namespace PBD
|
||||||
|
|
||||||
class LIBPBD_API EventLoop
|
class LIBPBD_API EventLoop
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
EventLoop (std::string const&);
|
EventLoop (std::string const&);
|
||||||
virtual ~EventLoop() {}
|
virtual ~EventLoop() {}
|
||||||
|
|
||||||
|
@ -53,18 +53,18 @@ class LIBPBD_API EventLoop
|
||||||
range_guarantee = ~0
|
range_guarantee = ~0
|
||||||
};
|
};
|
||||||
|
|
||||||
struct BaseRequestObject;
|
struct BaseRequestObject;
|
||||||
|
|
||||||
struct InvalidationRecord {
|
struct InvalidationRecord {
|
||||||
std::list<BaseRequestObject*> requests;
|
std::list<BaseRequestObject*> requests;
|
||||||
PBD::EventLoop* event_loop;
|
PBD::EventLoop* event_loop;
|
||||||
const char* file;
|
const char* file;
|
||||||
int line;
|
int line;
|
||||||
|
|
||||||
InvalidationRecord() : event_loop (0) {}
|
InvalidationRecord() : event_loop (0) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
static void* invalidate_request (void* data);
|
static void* invalidate_request (void* data);
|
||||||
|
|
||||||
struct BaseRequestObject {
|
struct BaseRequestObject {
|
||||||
RequestType type;
|
RequestType type;
|
||||||
|
@ -99,8 +99,8 @@ class LIBPBD_API EventLoop
|
||||||
static void pre_register (const std::string& emitting_thread_name, uint32_t num_requests);
|
static void pre_register (const std::string& emitting_thread_name, uint32_t num_requests);
|
||||||
static void remove_request_buffer_from_map (void* ptr);
|
static void remove_request_buffer_from_map (void* ptr);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static Glib::Threads::Private<EventLoop> thread_event_loop;
|
static Glib::Threads::Private<EventLoop> thread_event_loop;
|
||||||
std::string _name;
|
std::string _name;
|
||||||
|
|
||||||
typedef std::map<std::string,ThreadBufferMapping> ThreadRequestBufferList;
|
typedef std::map<std::string,ThreadBufferMapping> ThreadRequestBufferList;
|
||||||
|
@ -110,14 +110,14 @@ class LIBPBD_API EventLoop
|
||||||
struct RequestBufferSupplier {
|
struct RequestBufferSupplier {
|
||||||
|
|
||||||
/* @param name : name of object/entity that will/may accept
|
/* @param name : name of object/entity that will/may accept
|
||||||
requests from other threads, via a request buffer.
|
* requests from other threads, via a request buffer.
|
||||||
*/
|
*/
|
||||||
std::string name;
|
std::string name;
|
||||||
|
|
||||||
/* @param factory : a function that can be called (with an
|
/* @param factory : a function that can be called (with an
|
||||||
argument specifying the @param number_of_requests) to create and
|
* argument specifying the @param number_of_requests) to create and
|
||||||
return a request buffer for communicating with @param name)
|
* return a request buffer for communicating with @param name)
|
||||||
*/
|
*/
|
||||||
void* (*factory)(uint32_t nunber_of_requests);
|
void* (*factory)(uint32_t nunber_of_requests);
|
||||||
};
|
};
|
||||||
typedef std::vector<RequestBufferSupplier> RequestBufferSuppliers;
|
typedef std::vector<RequestBufferSupplier> RequestBufferSuppliers;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user