#include <Event.hpp>
Definition at line 1369 of file Event.hpp.
Public Member Functions | |
| ~EventFactory () | |
| non-virtual destructor | |
| EventFactory (void) | |
| default constructor | |
| EventFactory (EventAllocator &alloc) | |
| construct an EventFactory using an existing EventAllocator | |
| EventFactory (Event &e) | |
| construct an EventFactory using the EventAllocator of an existing Event | |
| EventPtr | create (const Event::EventType t) |
| void | create (EventPtr &ptr, const Event::EventType t) |
| EventAllocator & | getAllocator (void) |
| returns the EventAllocator used by this factory | |
| Event::BlobParams | make_blob (const std::string &str) const |
| can be used to construct a new BLOB object based upon an existing std::string | |
| Event::BlobParams | make_blob (const char *ptr, const std::size_t len) const |
| can be used to construct a new BLOB object based upon an existing memory buffer | |
| Event::BlobParams | make_blob (const char *ptr) const |
| can be used to construct a new BLOB object based upon an existing c-style string | |
Classes | |
| class | EventAllocatorFactory |
| void pion::platform::EventFactory::create | ( | EventPtr & | ptr, | |
| const Event::EventType | t | |||
| ) | [inline] |
updates an EventPtr so that it contains an empty Event of type t
| ptr | smart pointer to reset | |
| t | the new type of Event |
Definition at line 1411 of file Event.hpp.
References pion::platform::EventPtr::is_safe().
| EventPtr pion::platform::EventFactory::create | ( | const Event::EventType | t | ) | [inline] |
creates and returns a new EventPtr
| type | the type of Event to create |
Definition at line 1400 of file Event.hpp.
Referenced by PionPlatformUnitTest::feedFileToReactor(), pion::plugins::TransformReactor::process(), and pion::platform::Codec::read().
1.4.7