diff options
author | David Robillard <d@drobilla.net> | 2009-05-13 04:44:01 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-05-13 04:44:01 +0000 |
commit | 5268059f5d4ca9325a78da688a7622898354215a (patch) | |
tree | ebf19a912d4bf98966b3bf7c289059b0644bf47e /src/engine/PortImpl.hpp | |
parent | 19928bb583e72802746b89e322f71ecc0fcb7427 (diff) | |
download | ingen-5268059f5d4ca9325a78da688a7622898354215a.tar.gz ingen-5268059f5d4ca9325a78da688a7622898354215a.tar.bz2 ingen-5268059f5d4ca9325a78da688a7622898354215a.zip |
Remove 'using' declarations from headers.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1993 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/PortImpl.hpp')
-rw-r--r-- | src/engine/PortImpl.hpp | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/src/engine/PortImpl.hpp b/src/engine/PortImpl.hpp index afac4974..d3aad1c3 100644 --- a/src/engine/PortImpl.hpp +++ b/src/engine/PortImpl.hpp @@ -97,10 +97,12 @@ public: virtual bool is_input() const = 0; virtual bool is_output() const = 0; - uint32_t index() const { return _index; } - uint32_t poly() const { return _poly; } - DataType type() const { return _type; } - size_t buffer_size() const { return (_type == DataType::CONTROL) ? 1 : _buffer_size; } + uint32_t index() const { return _index; } + uint32_t poly() const { return _poly; } + Shared::DataType type() const { return _type; } + size_t buffer_size() const { + return (_type == Shared::DataType::CONTROL) ? 1 : _buffer_size; + } virtual void set_buffer_size(size_t size); @@ -122,7 +124,7 @@ protected: const std::string& name, uint32_t index, uint32_t poly, - DataType type, + Shared::DataType type, const Raul::Atom& value, size_t buffer_size); @@ -130,15 +132,15 @@ protected: virtual void connect_buffers(); virtual void broadcast(ProcessContext& context); - uint32_t _index; - uint32_t _poly; - uint32_t _buffer_size; - DataType _type; - Raul::Atom _value; - bool _fixed_buffers; - bool _broadcast; - bool _set_by_user; - Sample _last_broadcasted_value; + uint32_t _index; + uint32_t _poly; + uint32_t _buffer_size; + Shared::DataType _type; + Raul::Atom _value; + bool _fixed_buffers; + bool _broadcast; + bool _set_by_user; + Sample _last_broadcasted_value; Context::ID _context; Raul::Array<Buffer*>* _buffers; |